On Sat, 2007-10-06 at 14:22 -0400, Rodolfo Hansen wrote: > when compiling with the -fPIC flag, I get this error: > > ./libtool-wrap --tag=CC --mode=compile arm-wince-cegcc-gcc > -I/opt/cegcc/include -I. -c ./jctrans.c > > arm-wince-cegcc-gcc -I/opt/cegcc/include -I. -c ./jctrans.c -fPIC > -DPIC -o .libs/jctrans.o > > /tmp/cczlnTAh.s: Assembler messages: > /tmp/cczlnTAh.s:921: Error: undefined symbol `_GLOBAL_OFFSET_TABLE_' > in operation > /tmp/cczlnTAh.s:933: Error: attempt to get value of unresolved symbol > `L0' > /tmp/cczlnTAh.s:921: Error: cannot represent BFD_RELOC_32_PCREL > relocation in this object file format
I always forget exactly how to force "configure" to do the right thing, but you might want to try this : % setenv CC arm-wince-cegcc-gcc % setenv AR arm-wince-cegcc-ar % setenv RANLIB arm-wince-cegcc-ranlib % ./configure --target=arm-wince-cegcc % make This build libjpeg flawlessly on my system. Note that there's no -fPIC in the compiler command line, I don't think you can/should use that for ARM. Danny -- Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel