View Single Post
Old 2010-08-31, 10:09   #8
pacionet
 
pacionet's Avatar
 
Oct 2005
Italy

5238 Posts
Default

After some modifications:

1) export OBJECT_MODE=64
2) Adding -maix64 to compile flags
3) Commentig this line of mathtypes.h, because of conflicting definition

//typedef long long int64;

I got the following error:

Code:
gcc -maix64 -lm  -Wall \
-ffast-math \
-o phrot.g5 \
phrot.c \
-O3  -DY_MEM_THRESHOLD=8192 -DY_KILL_BRANCHES -DY_VECTORIZE \
-I../glucas ../glucas/libyeafft.a
In file included from phrot.c:57:
mathtypes.h:7: warning: ignoring #pragma warn
phrot.c: In function 'doPRPTest':
phrot.c:886: warning: format '%lli' expects type 'long long int', but argument 3 has type 'int64'
phrot.c:995: warning: format '%lli' expects type 'long long int', but argument 3 has type 'int64'
ld: 0711-317 ERROR: Undefined symbol: Y_NTHREADS
ld: 0711-317 ERROR: Undefined symbol: Y_2NN
ld: 0711-317 ERROR: Undefined symbol: Y_BS
ld: 0711-317 ERROR: Undefined symbol: Y_DI
ld: 0711-317 ERROR: Undefined symbol: Y_DJ
ld: 0711-317 ERROR: Undefined symbol: Y_IR
ld: 0711-317 ERROR: Undefined symbol: Y_NC
ld: 0711-317 ERROR: Undefined symbol: Y_2N0
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
make: *** [phrot.g5] Error 1
Some libraries still miss ?

Last fiddled with by pacionet on 2010-08-31 at 10:11
pacionet is offline   Reply With Quote