Subrata and Daniel,

moving from ia64 to x86_64 arch I have got this at linking time:

cc -o aio-stress aio-stress.o -Wall -O -g -DAIO -L /usr/lib -laio -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching 
for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching 
for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc

so , if you could  have a look to the suggested following  patch,
diff -uprN ltp-full-20081031/testcases/kernel/io/ltp-aiodio/Makefile.ori 
ltp-full-20081031/testcases/kernel/io/ltp-aiodio/Makefile
--- ltp-full-20081031/testcases/kernel/io/ltp-aiodio/Makefile.ori       
2008-10-30 14:26:26.000000000 +0100
+++ ltp-full-20081031/testcases/kernel/io/ltp-aiodio/Makefile   
2008-11-05 10:22:27.000000000 +0100
@@ -1,5 +1,5 @@
 CFLAGS+= -Wall -O -g -DAIO
-LDLIBS+= -L /usr/lib -laio
+LDLIBS+= -laio

 TARGETS=ltp-diorh aiocp aiodio_append aiodio_sparse dio_append 
dio_sparse dio_truncate dirty read_checkzero aio-stress
 SRCS=$(wildcard *.c)

many thanks

-- 
 Jacky Malcles               B1-403   Email : [EMAIL PROTECTED]
 Bull SA, 1 rue de Provence, B.P 208, 38432 Echirolles CEDEX, FRANCE
 Tel : 04.76.29.73.14


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to