[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problems building d-i on sparc: mklibs failed



Hi, 

I just tried to build d-i on sparc.
System was a new installed woody upgraded to unstable.
recent cvs checkout, all build-debs satisfied.
btw. its a sun e450

using make TYPE=cdrom

and this is the problem:

# Library reduction.
mkdir -p ./tmp/cdrom/tree/lib
mklibs  -v -d ./tmp/cdrom/tree/lib --root=./tmp/cdrom/tree `find ./tmp/cdrom -type f -perm +0111 -o -name '*.so'`
I: Using ld-linux.so.2 as dynamic linker.
Adding rpath ./tmp/cdrom/tree//usr/lib/cdebconf for ./tmp/cdrom/tree/usr/lib/cdebconf/frontend/newt.so
Adding rpath ./tmp/cdrom/tree//usr/lib/cdebconf for ./tmp/cdrom/tree/usr/sbin/dpkg-reconfigure
Adding rpath ./tmp/cdrom/tree//usr/lib/cdebconf for ./tmp/cdrom/tree/usr/lib/cdebconf/db/rfc822db.so
Adding rpath ./tmp/cdrom/tree//usr/lib/cdebconf for ./tmp/cdrom/tree/usr/bin/debconf
Adding rpath ./tmp/cdrom/tree//usr/lib/cdebconf for ./tmp/cdrom/tree/usr/bin/debconf-loadtemplate
Adding rpath ./tmp/cdrom/tree//usr/lib/cdebconf for ./tmp/cdrom/tree/usr/bin/debconf-copydb
Adding rpath ./tmp/cdrom/tree//usr/lib/cdebconf for ./tmp/cdrom/tree/usr/bin/debconf-dumpdb
I: library reduction pass 1
Objects: libresolv-2.3.2.so anna bterm udpkg newt.so di-utils-shell.postinst libdebconf.so busybox libnss_dns-2.3.2.so cdrom-checker main-menu dpkg-reconfigure discover rfc822db.so nano libdiscover.so debconf debconf-loadtemplate debconf-copydb debconf-dumpdb kbd-chooser
Object: ./tmp/cdrom/tree/lib/libresolv-2.3.2.so
Object: ./tmp/cdrom/tree/usr/bin/anna
Object: ./tmp/cdrom/tree/usr/bin/bterm
Object: ./tmp/cdrom/tree/usr/bin/udpkg
Object: ./tmp/cdrom/tree/usr/lib/cdebconf/frontend/newt.so
Object: ./tmp/cdrom/tree/var/lib/dpkg/info/di-utils-shell.postinst
Object: ./tmp/cdrom/tree/usr/lib/cdebconf/libdebconf.so
Object: ./tmp/cdrom/tree/bin/busybox
Object: ./tmp/cdrom/tree/lib/libnss_dns-2.3.2.so
Object: ./tmp/cdrom/tree/bin/cdrom-checker
Object: ./tmp/cdrom/tree/usr/bin/main-menu
Object: ./tmp/cdrom/tree/usr/sbin/dpkg-reconfigure
Object: ./tmp/cdrom/tree/sbin/discover
Object: ./tmp/cdrom/tree/usr/lib/cdebconf/db/rfc822db.so
Object: ./tmp/cdrom/tree/usr/bin/nano
Object: ./tmp/cdrom/tree/lib/libdiscover.so
Object: ./tmp/cdrom/tree/usr/bin/debconf
Object: ./tmp/cdrom/tree/usr/bin/debconf-loadtemplate
Object: ./tmp/cdrom/tree/usr/bin/debconf-copydb
Object: ./tmp/cdrom/tree/usr/bin/debconf-dumpdb
Object: ./tmp/cdrom/tree/usr/bin/kbd-chooser
449 symbols, 378 unresolved
reducing libresolv.so.2
/lib//libresolv.so.2     62256L
./tmp/cdrom/tree/lib/libresolv.so.2-so   55763L
./tmp/cdrom/tree/lib/libresolv.so.2-so-stripped          48616L
reducing libdiscover.so.1
Command failed with status 1 : gcc -nostdlib -nostartfiles -shared -Wl,-soname=libdiscover.so.1 -udisk_detect -ucdrom_detect -uideinterface_detect -uscsiinterface_detect -uvideo_detect -uethernet_detect -uusb_detect -uide_detect -upcmcia_detect -userial_detect -uscsi_detect -uusbinterface_detect -usoundcard_detect -upci_detect -uinit_lst -uisa_detect -uparallel_detect -ubridge_detect -o ./tmp/cdrom/tree/lib/libdiscover.so.1-so  /usr/lib//libdiscover_pic.a   -lgcc -L ./tmp/cdrom/tree/lib -L/lib/ -L/usr/lib/ -L/usr/X11R6/lib/ -L./tmp/cdrom/tree//usr/lib/cdebconf -L./tmp/cdrom/tree//usr/lib/cdebconf -L./tmp/cdrom/tree//usr/lib/cdebconf -L./tmp/cdrom/tree//usr/lib/cdebconf -L./tmp/cdrom/tree//usr/lib/cdebconf -L./tmp/cdrom/tree//usr/lib/cdebconf -L./tmp/cdrom/tree//usr/lib/cdebconf -lc -lm
With output: /usr/bin/ld: skipping incompatible /usr/lib//libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib//libc.a when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib//libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib//libm.a when searching for -lm
/usr/bin/ld: warning: sparc architecture of input file `/usr/lib//libdiscover_pic.a(bridge.lo)' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `/usr/lib//libdiscover_pic.a(cdrom.lo)' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `/usr/lib//libdiscover_pic.a(disk.lo)' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `/usr/lib//libdiscover_pic.a(ethernet.lo)' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `/usr/lib//libdiscover_pic.a(ide.lo)' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `/usr/lib//libdiscover_pic.a(isa.lo)' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `/usr/lib//libdiscover_pic.a(lst.lo)' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `/usr/lib//libdiscover_pic.a(parallel.lo)' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `/usr/lib//libdiscover_pic.a(pci.lo)' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `/usr/lib//libdiscover_pic.a(pcmcia.lo)' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `/usr/lib//libdiscover_pic.a(scsi.lo)' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `/usr/lib//libdiscover_pic.a(serial.lo)' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `/usr/lib//libdiscover_pic.a(soundcard.lo)' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `/usr/lib//libdiscover_pic.a(usb.lo)' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `/usr/lib//libdiscover_pic.a(utils.lo)' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `/usr/lib//libdiscover_pic.a(video.lo)' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `/usr/lib//libdiscover_pic.a(conv.lo)' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `/usr/lib//libdiscover_pic.a(modem.lo)' is incompatible with sparc:v9 output
/usr/lib//libdiscover_pic.a(disk.lo)(.text+0x21c): In function `disk_detect':
: undefined reference to `.umul'
/usr/lib//libdiscover_pic.a(disk.lo)(.text+0x224): In function `disk_detect':
: undefined reference to `.umul'
/usr/lib//libdiscover_pic.a(disk.lo)(.text+0x2d0): In function `disk_detect':
: undefined reference to `.umul'
/usr/lib//libdiscover_pic.a(disk.lo)(.text+0x2e0): In function `disk_detect':
: undefined reference to `.umul'
/usr/lib//libdiscover_pic.a(serial.lo)(.text+0x9c8): In function `print_pnp_id':
: undefined reference to `.div'
/usr/lib//libdiscover_pic.a(serial.lo)(.text+0x9d8): In function `print_pnp_id':
: undefined reference to `.rem'
collect2: ld returned 1 exit status
make: *** [cdrom-tree-stamp] Error 1

-- 
Jörg Friedrich
* Joey wirft Blinder einen Sack Kommas zu
<Joey> Verteil die mal sinnvoll
		-- #Debian.DE



Reply to: