This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[BUG] ports using --with-headers


Is --with-headers={location of headers} suppose to work with the glibc-ports. My testing shows that it doesn't wanted to know if others are seeing the same thing.

I installed my headers to /tools/linux-headers, for some testing on my mips cross-compilers. Everything was going good until I got to this point of the build. The headers it says are missing are located in the /tools/linux-headers directory.

make subdir=nscd -C nscd ..=../ others
make[2]: Entering directory `/mnt/raq2/build/glibc-2.4/nscd'
mips64el-unknown-linux-gnu-gcc -mel -mabi=32 nscd_stat.c -c -std=gnu99 -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g -Wstrict-prototypes -DIS_IN_nscd=1 -D_FORTIFY_SOURCE=2 -I../include -I/mnt/raq2/build/glibc-cross-32bit/nscd -I/mnt/raq2/build/glibc-cross-32bit -I../ports/sysdeps/mips/elf -I../ports/sysdeps/unix/sysv/linux/mips/mips32 -I../ports/sysdeps/unix/sysv/linux/mips/nptl -I../ports/sysdeps/unix/sysv/linux/mips -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../ports/sysdeps/unix/mips/mips32 -I../ports/sysdeps/unix/mips -I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../ports/sysdeps/mips/mips32 -I../ports/sysdeps/mips -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/wordsize-32 -I../ports/sysdeps/mips/fpu -I../ports/sysdeps/mips/nptl -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I../ports -I.. -I../libio -I. -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPIC -DNOT_IN_libc=1 -o /mnt/raq2/build/glibc-cross-32bit/nscd/nscd_stat.o -MD -MP -MF /mnt/raq2/build/glibc-cross-32bit/nscd/nscd_stat.o.dt -MT /mnt/raq2/build/glibc-cross-32bit/nscd/nscd_stat.o
In file included from ../stdlib/errno.h:36,
from ../include/errno.h:3,
from nscd_stat.c:20:
../ports/sysdeps/unix/sysv/linux/mips/bits/errno.h:26:26: error: linux/errno.h: No such file or directory
In file included from ../ports/sysdeps/unix/sysv/linux/mips/sys/syscall.h:29,
from ../sysdeps/unix/sysdep.h:21,
from ../ports/sysdeps/unix/mips/sysdep.h:22,
from ../ports/sysdeps/unix/mips/mips32/sysdep.h:21,
from ../ports/sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:23,
from ../ports/sysdeps/mips/nptl/tls.h:70,
from ../include/tls.h:6,
from ../include/errno.h:22,
from nscd_stat.c:20:
/mnt/raq2/build/glibc-cross-32bit/asm-unistd.h:1:24: error: asm/unistd.h: No such file or directory
In file included from ../posix/bits/posix1_lim.h:153,
from ../include/bits/posix1_lim.h:1,
from ../include/limits.h:145,
from ../nptl/descr.h:23,
from ../ports/sysdeps/mips/nptl/tls.h:76,
from ../include/tls.h:6,
from ../include/errno.h:22,
from nscd_stat.c:20:
../nptl/sysdeps/unix/sysv/linux/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory
In file included from ../ports/sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h:23,
from ../nptl/descr.h:30,
from ../ports/sysdeps/mips/nptl/tls.h:76,
from ../include/tls.h:6,
from ../include/errno.h:22,
from nscd_stat.c:20:
../sysdeps/unix/sysv/linux/sys/param.h:24:25: error: linux/param.h: No such file or directory
In file included from ../nptl/descr.h:30,
from ../ports/sysdeps/mips/nptl/tls.h:76,
from ../include/tls.h:6,
from ../include/errno.h:22,
from nscd_stat.c:20:
../ports/sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: In function '__lll_mutex_unlock':
../ports/sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h:195: error: '__NR_futex' undeclared (first use in this function)
../ports/sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h:195: error: (Each undeclared identifier is reported only once
../ports/sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h:195: error: for each function it appears in.)
../ports/sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: In function '__lll_robust_mutex_unlock':
../ports/sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h:205: error: '__NR_futex' undeclared (first use in this function)
../ports/sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: In function '__lll_mutex_unlock_force':
../ports/sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h:215: error: '__NR_futex' undeclared (first use in this function)
In file included from ../socket/sys/socket.h:35,
from ../include/sys/socket.h:2,
from ../inet/netinet/in.h:24,
from ../include/netinet/in.h:3,
from ../resolv/resolv.h:57,
from ../include/resolv.h:12,
from ../nptl/descr.h:39,
from ../ports/sysdeps/mips/nptl/tls.h:76,
from ../include/tls.h:6,
from ../include/errno.h:22,
from nscd_stat.c:20:
../ports/sysdeps/unix/sysv/linux/mips/bits/socket.h:305:24: error: asm/socket.h: No such file or directory
nscd_stat.c: In function 'send_stats':
nscd_stat.c:137: error: 'EINTR' undeclared (first use in this function)
nscd_stat.c: In function 'receive_print_stats':
nscd_stat.c:185: error: 'EINTR' undeclared (first use in this function)
nscd_stat.c:198: error: 'EINVAL' undeclared (first use in this function)
make[2]: *** [/mnt/raq2/build/glibc-cross-32bit/nscd/nscd_stat.o] Error 1
make[2]: Leaving directory `/mnt/raq2/build/glibc-2.4/nscd'
make[1]: *** [nscd/others] Error 2
make[1]: Leaving directory `/mnt/raq2/build/glibc-2.4'
make: *** [all] Error 2



-- ---- Jim Gifford maillist@jg555.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]