Ricardo Salveti de Araujo wrote: > Hi, > > everytime that we test LTP with different releases and kernels, we test it in > both 32 and 64 bits. > > Until now, we just needed to export CC='gcc -m64' to let LTP compile > successfully for 64. > > With release 20070430 I got to an error when compiling utsname, because it > was > trying to link it with the ltp libs (that are compiled with 64 successfully). >
Hi ricardo, can you please provide me the log of the error which you were getting related to utsname . Thanks Rishi > I checked to see in other Makefiles, and we don't export CC in it (but > correct > me if I'm wrong). > > This small patch just remove the line that put CC=gcc. > > Thanks, > > > > ------------------------------------------------------------------------ > > Author: Ricardo Salveti de Araujo <[EMAIL PROTECTED]> > Date: Mon May 21 17:53:57 2007 -0300 > > Fixing utsname to let LTP compile for 64 just exporting CC with "gcc -m64" > > Signed-off-by: Ricardo Salveti de Araujo <[EMAIL PROTECTED]> > > diff --git a/testcases/kernel/containers/utsname/Makefile > b/testcases/kernel/containers/utsname/Makefile > index 7a18a82..0c19193 100755 > --- a/testcases/kernel/containers/utsname/Makefile > +++ b/testcases/kernel/containers/utsname/Makefile > @@ -1,5 +1,3 @@ > -CC=gcc > - > CFLAGS += -I../../../../include -I../libclone -Wall > LDLIBS += -L../../../../lib -L../libclone ../libclone/libclone.a -lltp > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Ltp-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ltp-list ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
