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

can't build librl-2.0.3-2.deb



Bill Hogan writes:
 ...
 > 
 >  I am having problems doing Debian builds.
 > 
 ...

  Specifically, I am unable to build `librl-2.0.3-2.deb' on my Debian
setup.

  In trying to track down this problem, at one point I was driven to
see if perchance the build would work nn my old Slackware setup, where
I have a few Debian packaged installed.

   It did.

   Why does the Debian build of the Debian librl package succeed on my
old Slackware setup but fail on my new Debian setup?

   One difference I noted was that on my old Slackware setup I do not
have installed either the Debian binutils package or the Debian
dlltools package but rather have installed their GNU counterparts
straight off prep.ai.mit.

   The Debian build of the Debian dlltools package appears to have run
successfully on my Debian setup, so I decided to see if I could do the
Debian build of the Debian binutils package on my Debian setup.

   No.

   Fyi, here is the tail-end of the console output from that run:

bedlam:[*root*]/E/DEBIAN/binutils-2.5.2 # ./debian.rules build
-------------------------- quote -----------------------
[...]
make[3]: Leaving directory `/E/DEBIAN/binutils-2.5.2/libiberty'
make[2]: Leaving directory `/E/DEBIAN/binutils-2.5.2/libiberty'
make[2]: Entering directory `/E/DEBIAN/binutils-2.5.2/bfd'
rm -f bfd.h-new 64 ../include/bfd.h
if grep BFD_HOST_64_BIT sysdep.h > 64 2>/dev/null; then true; \
else true; fi
sed -e 's/@WORDSIZE@/32/' \
    -e "s/@VERSION@/`cat ./VERSION`/" \
    -e '/64-bit.*sysdep.h/ r 64' \
        < ./bfd-in2.h \
        > bfd.h-new
./../move-if-change bfd.h-new bfd.h
rm -f 64
touch stmp-bfd.h
gcc -c -O2 -DTRAD_CORE  -I. -I. -I./../include  archive.c
gcc -c -O2 -DTRAD_CORE  -I. -I. -I./../include  -DDEFAULT_VECTOR=i386linux_vec -DSELECT_VECS=elvecs -DSELECT_ARCHITECTURES=elarchs archures.c
archures.c:444: `elarchs' undeclared here (not in a function)
archures.c:444: initializer element for `archures_init_table[0]' is not constantmake[2]: *** [archures.o] Error 1
make[2]: Leaving directory `/E/DEBIAN/binutils-2.5.2/bfd'
make[1]: *** [all-bfd] Error 2
make[1]: Leaving directory `/E/DEBIAN/binutils-2.5.2'
make: *** [build] Error 2
bedlam:[*root*]/E/DEBIAN/binutils-2.5.2 #

  [...]
make[3]: Leaving directory `/E/DEBIAN/binutils-2.5.2/libiberty'
make[2]: Leaving directory `/E/DEBIAN/binutils-2.5.2/libiberty'
make[2]: Entering directory `/E/DEBIAN/binutils-2.5.2/bfd'
rm -f bfd.h-new 64 ../include/bfd.h
if grep BFD_HOST_64_BIT sysdep.h > 64 2>/dev/null; then true; \
else true; fi
sed -e 's/@WORDSIZE@/32/' \
    -e "s/@VERSION@/`cat ./VERSION`/" \
    -e '/64-bit.*sysdep.h/ r 64' \
        < ./bfd-in2.h \
        > bfd.h-new
./../move-if-change bfd.h-new bfd.h
rm -f 64
touch stmp-bfd.h
gcc -c -O2 -DTRAD_CORE  -I. -I. -I./../include  archive.c
gcc -c -O2 -DTRAD_CORE  -I. -I. -I./../include  -DDEFAULT_VECTOR=i386linux_vec -DSELECT_VECS=elvecs -DSELECT_ARCHITECTURES=elarchs archures.c
archures.c:444: `elarchs' undeclared here (not in a function)
archures.c:444: initializer element for `archures_init_table[0]' is not constantmake[2]: *** [archures.o] Error 1
make[2]: Leaving directory `/E/DEBIAN/binutils-2.5.2/bfd'
make[1]: *** [all-bfd] Error 2
make[1]: Leaving directory `/E/DEBIAN/binutils-2.5.2'
make: *** [build] Error 2
-------------------------- unquote ---------------------


  This looks like a major misunderstanding to me.

  Thank you in advance for your kind attention.
   
  Bill  


Reply to: