WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-users] Xen 2.0.7 Build failure

On Tue, Feb 28, 2006 at 12:51:22PM +0530, Subhabrata Bhattacharya wrote:
> Hi,
> 
> I have a problem building xen-2.0.7 from source. This command seems to
> have some problem.
> 
> [root@xion xen-2.0.7]# cd tools/xfrd/
> [root@xion xfrd]# gcc -o xfrd xfrd.o xen_domain.o select.o
> connection.o libutil.a -I /usr/include/curl/ -L ../../tools/libxc -lxc
> -L ../../tools/libxutil -lxutil -lz -L/usr/lib -lcurl -lssl -lcrypto
> -ldl -lssl -lcrypto -ldl -lz
> /usr/lib/libcurl.a(formdata.o)(.text+0xa0a): In function `AddFormDataf':
> : undefined reference to `__guard'
> /usr/lib/libcurl.a(formdata.o)(.text+0xa5e): In function `AddFormDataf':
> : undefined reference to `__guard'
> /usr/lib/libcurl.a(formdata.o)(.text+0xa74): In function `AddFormDataf':
> : undefined reference to `__stack_smash_handler'

Seems like you have some stack protection applied to GCC, but it needs
some additional symbols from some library to work.
 - either add this library to the linking command (i'm not sure if it
   will work)
 - or disable the protection

Marcin
-- 
Marcin Owsiany <marcin@xxxxxxxxxx>              http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216  FE67 DA2D 0ACA FC5E 3F75  D6F6 3A0D 8AA0 60F4 1216
 
"Every program in development at MIT expands until it can read mail."
                                                              -- Unknown

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>