Comment 2 for bug 137909

Revision history for this message
Matthias Klose (doko) wrote :

the patch is incomplete (for testing you can create a lpia chroot on every ix86 or amd64 PC, see https://wiki.ubuntu.com/DebootstrapChroot

gcc encoding.c -c \
              -MMD -MP -pipe -DSTDC_HEADERS=1 -DHAVE_STDLIB_H -DOBJC_THREAD_BACKEND='"thr-backends/single.h"' -DOBJC_WITHOUT_THREADING -DOBJC_WITH_GC=0 -DDEBUG_OBJC_GC=0 -DLIB_FOUNDATION_LIBRARY=1 -DGNU_RUNTIME=1 -D_REENTRANT -fPIC -DGSWARN -DGSDIAGNOSE -O0 -O2 -Wall -Iconfig/ix86/linux-gnulp -Iconfig/ix86/generic -I.. -I. -I. -I/usr/local/lib/opengroupware.org/Local/Library/Headers -I/usr/local/lib/opengroupware.org/Network/Library/Headers -I/usr/lib/opengroupware.org/System/Library/Headers -I/home/doko/GNUstep/Library/Headers/libFoundation -I/usr/local/lib/opengroupware.org/Local/Library/Headers/libFoundation -I/usr/local/lib/opengroupware.org/Network/Library/Headers/libFoundation -I/usr/lib/opengroupware.org/System/Library/Headers/libFoundation -I/home/doko/GNUstep/Library/Headers/libFoundation/./GNU -I/usr/local/lib/opengroupware.org/Local/Library/Headers/libFoundation/./GNU -I/usr/local/lib/opengroupware.org/Network/Library/Headers/libFoundation/./GNU -I/usr/lib/opengroupware.org/System/Library/Headers/libFoundation/./GNU \
               -o shared_obj/encoding.o
encoding.c:29:27: error: compiler-info.h: No such file or directory
encoding.c: In function 'objc_sizeof_type':
encoding.c:175: error: 'BITS_PER_UNIT' undeclared (first use in this function)
encoding.c:175: error: (Each undeclared identifier is reported only once
encoding.c:175: error: for each function it appears in.)
encoding.c: In function 'objc_layout_structure':
encoding.c:722: error: 'BITS_PER_UNIT' undeclared (first use in this function)
encoding.c: In function 'objc_layout_structure_next_member':
encoding.c:760: error: 'BITS_PER_UNIT' undeclared (first use in this function)
encoding.c: In function 'objc_layout_finish_structure':
encoding.c:900: error: 'BITS_PER_UNIT' undeclared (first use in this function)
encoding.c: In function 'objc_layout_structure_get_info':
encoding.c:912: error: 'BITS_PER_UNIT' undeclared (first use in this function)
make[2]: *** [shared_obj/encoding.o] Error 1
make[1]: *** [libobjc.all.library.variables] Error 2
make[1]: Leaving directory `/home/packages/u/lpia/libobjc-lf2-2.95.3r115'
make: *** [build-stamp] Error 2