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

Re: Bug#2697: symlink /usr/include/asm in libc5-dev



Well, I haven't had the chance to be absolutely sure, but I think the
scheme may break the kernel's make xconfig.  I tried to reconfig my
kernel just after upgrading libc5-dev, and it failed like this.  I
guess this means that the upstream Makefile needs to be changed...

% cd /usr/src/linux
% make xconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts kconfig.tk
make[1]: Entering directory `/usr/src/linux-1.3.88/scripts'
gcc -I/usr/src/linux-1.3.88/include  -g -Wall -c -o tkparse.o tkparse.c
gcc -I/usr/src/linux-1.3.88/include  -g -Wall -c -o tkcond.o tkcond.c
gcc -I/usr/src/linux-1.3.88/include  -g -Wall -c -o tkgen.o tkgen.c
In file included from /usr/include/sys/types.h:4,
                 from /usr/include/unistd.h:623,
                 from tkgen.c:69:
/usr/src/linux-1.3.88/include/linux/types.h:62: parse error before `daddr_t'
/usr/src/linux-1.3.88/include/linux/types.h:62: warning: no semicolon at end of
struct or union
/usr/src/linux-1.3.88/include/linux/types.h:63: warning: data definition has no
type or storage class
/usr/src/linux-1.3.88/include/linux/types.h:66: parse error before `}'
In file included from tkgen.c:69:
/usr/include/unistd.h:627: parse error before `__increment'
/usr/include/unistd.h:628: parse error before `__increment'
/usr/include/unistd.h:653: parse error before `dev_t'
/usr/include/unistd.h:655: parse error before `__dev'
/usr/include/unistd.h: In function `ustat':
/usr/include/unistd.h:657: `__dev' undeclared (first use this function)
/usr/include/unistd.h:657: (Each undeclared identifier is reported only once
/usr/include/unistd.h:657: for each function it appears in.)
/usr/include/unistd.h:657: `__ubuf' undeclared (first use this function)
make[1]: *** [tkgen.o] Error 1
make[1]: Leaving directory `/usr/src/linux-1.3.88/scripts'
make: *** [xconfig] Error 2
% ls -ld /usr/include/linux
drwxr-xr-x   3 root     root         4096 Apr 20 12:18 /usr/include/linux
% ls -ld /usr/include/asm
lrwxrwxrwx   1 root     root            8 Apr 20 12:18 /usr/include/asm -> asm-i
386
                  
Thanks
--
Rob


Reply to: