Hi developers

I finally managed to build linuxboot in Ubuntu 12.04, gcc 4.6.3
I faced some troubles so here they are to maybe help somebody

To build linuxboot apply Makefile.patch, move glibc-i686.patch and
slang.patch to linuxboot/misc.

1) make download, some links are broken

2) sf.net/.../parted-1.6.22.tar.gz file is broken, but builds without errors
$ ls -l /var/tmp/parted-1.6.22.tar.gz
-rw------- 1 slava slava 1497993 мая   21 13:52 /var/tmp/parted-1.6.22.tar.gz
$ gzip -t /var/tmp/parted-1.6.22.tar.gz
gzip: /var/tmp/parted-1.6.22.tar.gz: unexpected end of file

3) glibc does not compile, needs a patch
../sysdeps/i386/fpu/s_frexp.S: Assembler messages:
../sysdeps/i386/fpu/s_frexp.S:66: Error: invalid identifier for ".ifdef"
../sysdeps/i386/fpu/s_frexp.S:66: Error: junk at end of line, first
unrecognized character is `1'
../sysdeps/i386/fpu/s_frexp.S:66: Error: junk at end of line, first
unrecognized character is `1'
../sysdeps/i386/fpu/s_frexp.S:66: Error: Missing symbol name in directive

4) busybox, does not use CFLAGS_EXTRA
networking/udhcp/lib.a(dhcpc.o): In function `udhcpc_main':
dhcpc.c:(.text.udhcpc_main+0x5e3): undefined reference to `__fdelt_chk'

5) dosemu fails to link without additional library search path
"build-glibc-2.13/math"
/usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/libm.so:
undefined reference to `__get_cpu_features@GLIBC_PRIVATE'

6) slang needs a patch to compile
/usr/bin/ld: slang-2.0.7/src/objs/libslang.a(slcommon.o): undefined
reference to symbol '__libc_enable_secure@@GLIBC_PRIVATE'

7) usbutils doesn't build because libusb must know about fakelib_cflags
stage1/lib/libusb.so: undefined reference to `__fdelt_chk@GLIBC_2.15'

8) parted must be linked with libdl
../../libparted/.libs/libparted.so: undefined reference to `dlopen'
../../libparted/.libs/libparted.so: undefined reference to `dlclose'
../../libparted/.libs/libparted.so: undefined reference to `dlerror'
../../libparted/.libs/libparted.so: undefined reference to `dlsym'

Attachment: slang.patch
Description: Binary data

Attachment: glibc-i686.patch
Description: Binary data

Attachment: Makefile.patch
Description: Binary data

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
unattended-devel mailing list
unattended-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-devel

Reply via email to