From: Marcin Owsiany Subject: Re: Xen 2.0.7 Build failure Date: Tue, 28 Feb 2006 08:26:04 +0100 Message-ID: <20060228072604.GB7826@kufelek> References: <484a4e240602272321o11d27695sa3105dcb03baadb8@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <484a4e240602272321o11d27695sa3105dcb03baadb8@mail.gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-users-bounces@lists.xensource.com Errors-To: xen-users-bounces@lists.xensource.com To: Subhabrata Bhattacharya Cc: xen-devel@lists.xensource.com, xen-users@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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 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