On Tue, Feb 3, 2009 at 5:34 PM, Seiichi Ikarashi
<[email protected]> wrote:
> Hi,
>
> I report a build failure and a patch for it.
>
> If your system is not either i386 or x86_64,
> making in ltp-full-20090131 fails as follows:
>
> $ make all
>  :
> make[3]: Entering directory 
> `/home/ikarashi/ltp/ltp-full-20090131/testcases/misc/tcore_patch_test_suites'
> gcc -g -O2 -Wall  -I../../../include  -L../../../lib  tcore.c  -lltp -lm 
> -lpthread -o tcore
> tcore.c:212: error: redefinition of 'TST_TOTAL'
> tcore.c:30: error: previous definition of 'TST_TOTAL' was here
> make[3]: *** [tcore] Error 1
> make[3]: Leaving directory 
> `/home/ikarashi/ltp/ltp-full-20090131/testcases/misc/tcore_patch_test_suites'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory 
> `/home/ikarashi/ltp/ltp-full-20090131/testcases/misc'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/ikarashi/ltp/ltp-full-20090131/testcases'
> make: *** [all] Error 2
> $
>
> It's because wrong position of TST_TOTAL definition.
>
> Signed-off-by: Seiichi Ikarashi <[email protected]>
>
> Regards,

Why's this even being done period? It's #ifdef'ed for i386 and x86_64
(note: this doesn't cover x64, etc).

Shouldn't this be removed from the build (via the Makefiles /
autoconf) because it doesn't apply for tcore based non-AMD chips or
did I goof up the support?

Thanks,
-Garrett

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to