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

Compilation problems

In order to package nis+ utilities I upgraded a slink system to potato 
(apt-get, first libc6, then rest, then kernel 2.2.5 image).

Now a face strange compilation problems, like for the cvs package

$dpkg-source -x cvs_1.10.4-1.dsc
$cd cvs-1.10.4/
gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O2 -c hardlink.c
gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O2 -c hash.c
gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O2 -c history.c
gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O2 -c ignore.c
gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O2 -c import.c
gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O2 -c lock.c
gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O2 -c log.c
gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O2 -c login.c
gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O2 -c logmsg.c
gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O2 -c main.c
gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O2 -c mkmodules.c
gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O2 -c modules.c
gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O2 -c myndbm.c
gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O2 -c no_diff.c
gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O2 -c parseinfo.c
gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O2 -c patch.c
gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O2 -c rcs.c
gcc  -I. -I.. -I. -I../lib -I../diff -DHAVE_CONFIG_H  -g -O2 -c ./rcscmds.c
gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O2 -c recurse.c
gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O2 -c release.c
gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O2 -c remove.c
gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O2 -c repos.c
gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O2 -c root.c
gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O2 -c rtag.c
gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O2 -c scramble.c
gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O2 -c server.c
gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O2 -c status.c
gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O2 -c tag.c
gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O2 -c update.c
gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O2 -c watch.c
gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O2 -c wrapper.c
gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O2 -c vers_ts.c
gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O2 -c subr.c
gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O2 -c filesubr.c
gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O2 -c run.c
gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O2 -c version.c
gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O2 -c error.c
gcc  -I. -I.. -I. -I../lib -I../zlib -DHAVE_CONFIG_H  -g -O2 -c ./zlib.c
gcc add.o admin.o buffer.o checkin.o checkout.o classify.o client.o commit.o 
create_adm.o cvsrc.o diff.o edit.o entries.o expand_path.o fileattr.o 
find_names.o hardlink.o hash.o history.o ignore.o import.o lock.o log.o 
login.o logmsg.o main.o mkmodules.o modules.o myndbm.o no_diff.o parseinfo.o 
patch.o rcs.o rcscmds.o recurse.o release.o remove.o repos.o root.o rtag.o 
scramble.o server.o status.o tag.o update.o watch.o wrapper.o vers_ts.o subr.o 
filesubr.o run.o version.o error.o zlib.o ../lib/libcvs.a ../diff/libdiff.a 
-lz -lcrypt   -o cvs
checkin.o: file not recognized: File truncated
collect2: ld returned 1 exit status
make[2]: *** [cvs] Error 1
make[2]: Leaving directory `/scratch/rainer/cvs/cvs-1.10.4/src'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/scratch/rainer/cvs/cvs-1.10.4'
make: *** [build-stamp] Error 2
Couldn't run dpkg-buildpackage: Illegal seek
rai16 09:43:24$ 

I do not think, that it is a cvs problem, because compiling other code seems 
to have problems too, like

/usr/bin/ld: cuddZddGroup.o: invalid string offset 285212672 >= 89 for section 

is quite popular.

I would expect the problems more in egcs, libc6 or the kernel itself (the 
system rebooted this morning automatically).

Any ideas what co8uld be wrong? The system was running slink rock-solid for 

rai16 09:55:37$ uname -a
Linux rai16 2.2.5 #2 Fri Apr 16 18:58:40 EST 1999 i686 unknown
rai16 09:55:40$ gcc -v
Reading specs from /usr/lib/gcc-lib/i486-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 Debian GNU/Linux (egcs-1.1.2 release)
rai16 09:55:43$ ls -l /lib/libc.so.6
lrwxrwxrwx   1 root     root           13 May 10 09:09 /lib/libc.so.6 -> 
Rainer Dorsch
Abt. Rechnerarchitektur  e-mail:rainer.dorsch@informatik.uni-stuttgart.de
Uni Stuttgart            Tel.: 0711-7816-215

Reply to: