Hi, the best way is to get an "fresh and clean" i386 environment to build:
debootstrap --variant=buildd --arch i386 intrepid /var/tmp/build-root/ \ http://archive.ubuntu.com/ubuntu/ After that chroot into this environment: chroot /var/tmp/build-root/ su - On 64bit systmes you should: linux32 chroot /var/tmp/build-root/ su - I have rebuild the makefile for the use with glibc2.9 and kernel 2.6.29. But I also removed some stuff because perl is not needed for the unattended-gui project. So take a look at our Makefile and try to use the options for glibc-2.9: http://unattended-gui.svn.sourceforge.net/viewvc/unattended-gui/bootcd/Makefile?view=markup For example you have to use this C-flags for glibc: GLIBCCFLAGS="-O2 -mtune=i686 -pipe -U_FORTIFY_SOURCE -fno-stack-protector" Please post the lines before "collect2: ld returned 1 exit status", because the error is some where before this line.... greetings mario Sven Geipel schrieb: > Hello, > > since two days I unsuccessful try to compile a new kernel. We got some > new laptops with BCM5761e nics and these are not detected by my old 4.6 > boot kernel. > > I tried to compile with ubuntu 8.04, 8.10 and fedora 10 with no success > at all. Compile always exit with error: > >> collect2: ld returned 1 exit status >> make[2]: *** [/home/sven/unattended/linuxboot/build-glibc-2.9/libc.so] >> Error 1 >> make[2]: Leaving directory '/home/sven/unattended/linuxboot/glibc-2.9' >> make[1]: *** [all] Error 2 >> make[1]: Leaving directory >> '/home/sven/unattended/linuxboot/build-glibc-2.9' >> make: *** [build-glibc-2.9/libc.so] Error 2 > (Tried also glibc version 2.6.1 and 2.5 in Makefile) > > Has somebody a tftpboot kernel with support for this nic and would it > share with me, pleae? > > And how can I compile a new kernel by myself? My way was: > - set up new os and patch it > - install cvs, kernel-headers, bison, flex, gawk, mkisofs > - cvs checkout unattended > - make download > - make tftpboot > ------------------------------------------------------------------------------ _______________________________________________ unattended-devel mailing list unattended-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unattended-devel