Problem - Test GMP in AIX

pedro@dedicate.com.br pedro at dedicate.com.br
Mon Nov 28 20:00:54 CET 2005


I have installed GMP 4.1.4 in AIX 5.3, but have the problem following when compiled C program:

sslzora01 /cobol/open-cobol-0.32> gcc erro3.c
ld: 0711-317 ERROR: Undefined symbol: .__gmp_rand
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
sslzora01 /cobol/open-cobol-0.32>

The gmp library stored in /usr/lib :

sslzora01 /usr/lib> ls libgmp*
libgmp.a   libgmp.la
sslzora01 /usr/lib>

the library libgmp.a contain the fuction .__gmp_rand

-------------- next part --------------
A non-text attachment was scrubbed...
Name: erro3.c
Type: application/octet-stream
Size: 889 bytes
Desc: not available
Url : http://gmplib.org/list-archives/gmp-discuss/attachments/20051128/0fe1d76a/erro3.obj


More information about the gmp-discuss mailing list