From: "p.murali" <[email protected]> Subject: Re: [LTP] undefined reference to `splice' | error Date: Thu, 30 Apr 2009 18:18:04 -0700 (PDT)
> > I have Linux kernel "2.6.24-ufs.2.5.1-ovz008.1" > > and glibc-devel version glibc-devel-2.3.4-2.41.el4_7.1 > and glibc-headers glibc-headers-2.3.4-2.41.el4_7.1 Although looks like your kernel should support it, your will need at least glibc-2.5 version. http://sourceware.org/ml/libc-alpha/2006-09/msg00065.html Seiichi Ikarashi has reported the same issue. Once someone has created a autoconf file for it, the test will not try to compile in your case. http://article.gmane.org/gmane.linux.ltp/8359 CAI Qian > > but still it doesn't work. > > I have ran "configure" before running "make install" > > Thanks > Murali > > > > p.murali wrote: >> >> make[4]: Entering directory >> `/root/Kernel-Performance-Tests/murali/ltp-full-20090430/testcases/kernel/syscalls/sockioctl' >> make[4]: Nothing to be done for `all'. >> make[4]: Leaving directory >> `/root/Kernel-Performance-Tests/murali/ltp-full-20090430/testcases/kernel/syscalls/sockioctl' >> make[4]: Entering directory >> `/root/Kernel-Performance-Tests/murali/ltp-full-20090430/testcases/kernel/syscalls/splice' >> gcc -g -O2 -I../../include -g -Wall -I../../../../include -Wall >> splice02.c -L../../../../lib -lltp -o splice02 >> splice02.c: In function `main': >> splice02.c:127: warning: implicit declaration of function `splice' >> /tmp/ccza0u4i.o(.text+0xd5): In function `main': >> /root/Kernel-Performance-Tests/murali/ltp-full-20090430/testcases/kernel/syscalls/splice/splice02.c:127: >> undefined reference to `splice' >> collect2: ld returned 1 exit status >> make[4]: *** [splice02] Error 1 >> make[4]: Leaving directory >> `/root/Kernel-Performance-Tests/murali/ltp-full-20090430/testcases/kernel/syscalls/splice' >> make[3]: *** [all] Error 2 >> make[3]: Leaving directory >> `/root/Kernel-Performance-Tests/murali/ltp-full-20090430/testcases/kernel/syscalls' >> make[2]: *** [all] Error 2 >> make[2]: Leaving directory >> `/root/Kernel-Performance-Tests/murali/ltp-full-20090430/testcases/kernel' >> make[1]: *** [all] Error 2 >> make[1]: Leaving directory >> `/root/Kernel-Performance-Tests/murali/ltp-full-20090430/testcases' >> make: *** [all] Error 2 >> [r...@ut1-pluto ltp-full-20090430]# >> >> Hi I was running #make install on LTP - 20090430. and i got the above >> error message. This is the first time, I am using LTP. could you please >> let me know what I should be doing now to resolve this error. >> >> Thanks a lot in advance. >> >> ~Murali >> >> > > -- > View this message in context: > http://www.nabble.com/undefined-reference-to-%60splice%27-%7C-error-tp23326936p23327161.html > Sent from the ltp-list mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
