Mario Gzuk wrote, On 03.04.2009 09:42:
> 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
Hi Mario,

I followed your instructions and got a error message again. Here a
little bit more text :-) Seems to be something wrong with limits.h:

> ../include/limits.h:125:26: error: limits.h: No such file or directory
> (case linux-gnu in \
>            linux*) version=`(printf '%s\n%s\n' \
>                                     '#include <linux/version.h>' \
>                                     UTS_RELEASE \
>                              | gcc  -I../include
> -I/root/unattended/linuxboot/build-glibc-2.6.1/csu
> -I/root/unattended/linuxboot/build-glibc-2.6.1 -I../sysdeps/i386/elf
> -I../nptl/sysdeps/unix/sysv/linux/i386/i586
> -I../nptl/sysdeps/unix/sysv/linux/i386
> -I../sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux
> -I../nptl/sysdeps/pthread -I../sysdeps/pthread
> -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common
> -I../sysdeps/unix/mman -I../sysdeps/unix/inet
> -I../sysdeps/unix/sysv/i386 -I../nptl/sysdeps/unix/sysv
> -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix
> -I../sysdeps/unix -I../sysdeps/posix -I../nptl/sysdeps/i386/i586
> -I../sysdeps/i386/i586 -I../sysdeps/i386/i486
> -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu
> -I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/wordsize-32
> -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64
> -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754
> -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl  -I..
> -I../libio -I. -nostdinc -isystem
> /usr/lib/gcc/i486-linux-gnu/4.3.2/include -isystem
> /root/unattended/linuxboot/linux-2.6.27/dest/include -D_LIBC_REENTRANT
> -include ../include/libc-symbols.h       -DHAVE_INITFINI -E -P -
> -DNOT_IN_libc=1 | \
>                              sed -e 's/"\([^"]*\)".*/\1/p' -e d)
> 2>/dev/null`;\
>                    if [ -z "$version" ]; then \
>                      if [ -r /proc/version ]; then \
>                        version=`sed 's/.*Linux version \([^ ]*\)
> .*/>>\1<</' \
>                                 < /proc/version`; \
>                      else \
>                        version=`uname -r`; \
>                      fi; \
>                    fi; \
>                    os=`uname -s 2> /dev/null`; \
>                    if [ -z "$os" ]; then \
>                      os=Linux; \
>                    fi; \
>                    printf '"Compiled on a %s %s system on %s.\\n"\n' \
>                           "$os" "$version" "`date +%Y-%m-%d`";; \
>            *) ;; \
>          esac; \
>          files="../crypt/Banner ../nptl/Banner
> ../resolv/Banner";                       \
>          if test -n "$files"; then                              \
>            printf '"Available extensions:\\n"\n';               \
>            sed -e '/^#/d' -e 's/^[[:space:]]*/  /'              \
>                -e 's/^\(.*\)$/\"\1\\n\"/' $files;               \
>          fi) >
> /root/unattended/linuxboot/build-glibc-2.6.1/csu/version-info.hT
> rm -f /root/unattended/linuxboot/build-glibc-2.6.1/csu/abi-tag.h.new
> sed -e 's/#.*$//' -e '/^[       ]*$/d' ../abi-tags | \
>         while read conf tagos tagver; do \
>           test `expr 'i586-pc-linux-gnu' \
>                      : "$conf"` != 0 || continue; \
>           ( echo "$tagos" | \
>             sed -e 's/[^0-9xXa-fA-F     ]//' \
>                 -e 's/^/#define __ABI_TAG_OS /'; \
>             echo "#ifndef __ABI_TAG_VERSION"; \
>             echo "$tagver" | \
>             sed -e 's/[^0-9xXa-fA-F]/ /g' -e 's/ *$//' \
>               -e 's/ /,/g' -e 's/^/# define __ABI_TAG_VERSION /'; \
>             echo "#endif" ) >
> /root/unattended/linuxboot/build-glibc-2.6.1/csu/abi-tag.h.new; \
>         done
> make[3]: ***
> [/root/unattended/linuxboot/build-glibc-2.6.1/tcb-offsets.h] Error 1
> make[3]: *** Waiting for unfinished jobs....
> if test -r
> /root/unattended/linuxboot/build-glibc-2.6.1/csu/abi-tag.h.new; then
> mv -f /root/unattended/linuxboot/build-glibc-2.6.1/csu/abi-tag.h.new
> /root/unattended/linuxboot/build-glibc-2.6.1/csu/abi-tag.h; \
>         else echo >&2 'This configuration not matched in ../abi-tags';
> exit 1; fi
> mv -f /root/unattended/linuxboot/build-glibc-2.6.1/csu/version-info.hT
> /root/unattended/linuxboot/build-glibc-2.6.1/csu/version-info.h
> make[3]: Leaving directory `/root/unattended/linuxboot/glibc-2.6.1/csu'
> make[2]: *** [csu/subdir_lib] Error 2
> make[2]: Leaving directory `/root/unattended/linuxboot/glibc-2.6.1'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/root/unattended/linuxboot/build-glibc-2.6.1'
> make: *** [build-glibc-2.6.1/libc.so] Error 2

I changed glibc to version 2.7 in Makefile and try again now.

Your kernel ua-0.8.8 detects this new network card but it tries to start
init.sh after boot and there's no perl installed too.

-- 
regards
Sven Geipel



------------------------------------------------------------------------------
_______________________________________________
unattended-devel mailing list
unattended-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-devel

Reply via email to