From: "Subhabrata Bhattacharya" Subject: Xen 2.0.7 Build failure Date: Tue, 28 Feb 2006 13:25:13 +0530 Message-ID: <484a4e240602272355j791ea2b4y3da259589d0d6c1e@mail.gmail.com> References: <484a4e240602272321o11d27695sa3105dcb03baadb8@mail.gmail.com> <20060228072604.GB7826@kufelek> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20060228072604.GB7826@kufelek> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-users-bounces@lists.xensource.com Errors-To: xen-users-bounces@lists.xensource.com To: xen-users@lists.xensource.com, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hi, > Seems like you have some stack protection applied to GCC, but it needs > some additional symbols from some library to work. Is there a way to find out what libraries would be required? I have everything installed as stated with the -l flags. > - or disable the protection How do I do this? ~$ubh On 2/28/06, Marcin Owsiany wrote: > 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 >