Postby tdeepabh » 15 Oct 2010 12:45
I have installed Minw32ce on my system(ubuntu), and my configure looks like following
./configure --host=arm-mingw32ce --cross-prefix=/opt/mingw32ce/bin/arm-mingw32ce- --extra-cflags="-I/opt/mingw32ce/include" --extra-ldflags="-L/opt/mingw32ce/lib" --enable-shared --disable-asm
and when i run 'make', following error is reported
../../bin/arm-mingw32ce-gcc -O3 -fno-fast-math -Wall -I. -I/opt/mingw32ce/include -std=gnu99 -fPIC -s -fomit-frame-pointer -c -o common/mc.o common/mc.c
common/mc.c:166: warning: alignment of 'weight_none' is greater than maximum object file alignment. Using 8
/tmp/cc8WPxAA.s: Assembler messages:
/tmp/cc8WPxAA.s:999: Error: undefined symbol `_GLOBAL_OFFSET_TABLE_' in operation
/tmp/cc8WPxAA.s:2054: Error: undefined symbol `_GLOBAL_OFFSET_TABLE_' in operation
/tmp/cc8WPxAA.s:2293: Error: undefined symbol `_GLOBAL_OFFSET_TABLE_' in operation
/tmp/cc8WPxAA.s:4948: Error: attempt to get value of unresolved symbol `L0'
/tmp/cc8WPxAA.s:4948: Error: attempt to get value of unresolved symbol `L0'
/tmp/cc8WPxAA.s:4948: Error: attempt to get value of unresolved symbol `L0'
make: *** [common/mc.o] Error 1
Can anyone tell what could be the reason for this error