On Thu, 2008-11-06 at 16:22 +0100, Jacky Malcles wrote:
> 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,

Thanks Jacky for this.

Regards--
Subrata

> 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
> 


-------------------------------------------------------------------------
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