lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Dear all,

I am having problems making lpeg on a Linux Suse 10.2 64-bit machine.
What can I do ?

Thank you very much!

Best regards,

Axel

---- Error Message:

dhcppc1:/usr/local/lpeg-0.7 # make
gcc -O2 -DNDEBUG -Wall -Wextra -pedantic -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wwrite-strings -Wcast-qual -ansi -I../lua -shared -o lpeg.so lpeg.c
lpeg.c: In function ‘printinst’:
lpeg.c:262: warning: format ‘%02d’ expects type ‘int’, but argument 2 has type ‘long int’
lpeg.c:270: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long int’
lpeg.c:279: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long int’
lpeg.c:298: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long int’
lpeg.c:306: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long int’
lpeg.c:311: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long int’
lpeg.c: At top level:
lpeg.c:330: warning: ‘printcap’ defined but not used
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: /tmp/cccqktSm.o: relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/tmp/cccqktSm.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [lpeg.so] Error 1                        
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer