Problem mit make automount für yadd

Kreuzuebersetzer, Diskussion über Änderungen im Tuxbox-CDK und Tuxbox-CVS
yjogol
Developer
Beiträge: 809
Registriert: Montag 4. Juli 2005, 18:45

Problem mit make automount für yadd

Beitrag von yjogol »

Hallo zusammen,
wenn ich mit newmake ein yadd-neutrino erstelle und in "yadd-neutrino-local.sh" make automount aufrufe bekomme ich folgenden Fehler:

Code: Alles auswählen

( rm -rf autofs-4.1.4 || /bin/true ) && bunzip2 -cd Archive/autofs-4.1.4.tar.bz2 | TAPE=- tar -x && ( cd autofs-4.1.4; patch -p1 < ../Patches/autofs.diff )
patching file Makefile.conf
patching file Makefile.rules
patching file include/config.h
cd autofs-4.1.4  && \
                AR=powerpc-tuxbox-linux-gnu-ar AS=powerpc-tuxbox-linux-gnu-as CC=powerpc-tuxbox-linux-gnu-gcc CXX=powerpc-tuxbox-linux-gnu-g++ NM=powerpc-tuxbox-linux-gnu-nm RANLIB=powerpc-tuxbox-linux-gnu-ranlib CFLAGS="-mcpu=823 -pipe -Os" CXXFLAGS="-mcpu=823 -pipe -Os" LDFLAGS="-Wl,-O1" PKG_CONFIG_PATH=/home/y/tuxbox/dbox2/cdkroot/lib/pkgconfig STRIP=powerpc-tuxbox-linux-gnu-strip \
                make && \
                make install INSTALLROOT=/home/y/tuxbox/dbox2/cdkroot
make[1]: Betrete Verzeichnis '/home/y/tuxbox/tuxbox-cvs/cdk/autofs-4.1.4'
set -e; for i in lib daemon modules man samples; do make -C $i all; done
make[2]: Betrete Verzeichnis '/home/y/tuxbox/tuxbox-cvs/cdk/autofs-4.1.4/lib'
powerpc-tuxbox-linux-gnu-gcc -mcpu=823 -pipe -Os -I../include -fPIC -D_GNU_SOURCE -DHAVE_TCP_WRAPPER -DNFS3_SUPPORTED -c cache.c
/usr/bin/rpcgen -h -o mount.h mount.x
/usr/bin/rpcgen -l -o mount_clnt.c mount.x
powerpc-tuxbox-linux-gnu-gcc -mcpu=823 -pipe -Os -I../include -fPIC -D_GNU_SOURCE -DHAVE_TCP_WRAPPER -DNFS3_SUPPORTED -o mount_clnt.o -c mount_clnt.c
powerpc-tuxbox-linux-gnu-strip mount_clnt.o
/usr/bin/rpcgen -c -o mount_xdr.c mount.x
powerpc-tuxbox-linux-gnu-gcc -mcpu=823 -pipe -Os -I../include -fPIC -D_GNU_SOURCE -DHAVE_TCP_WRAPPER -DNFS3_SUPPORTED -Wno-unused-variable -o mount_xdr.o -c mount_xdr.c
powerpc-tuxbox-linux-gnu-strip mount_xdr.o
powerpc-tuxbox-linux-gnu-gcc -mcpu=823 -pipe -Os -I../include -fPIC -D_GNU_SOURCE -DHAVE_TCP_WRAPPER -DNFS3_SUPPORTED -o listmount.o -c listmount.c
powerpc-tuxbox-linux-gnu-strip listmount.o
powerpc-tuxbox-linux-gnu-gcc -mcpu=823 -pipe -Os -I../include -fPIC -D_GNU_SOURCE -DHAVE_TCP_WRAPPER -DNFS3_SUPPORTED -c cat_path.c
cat_path.c: In function `ncat_path':
cat_path.c:82: error: `PATH_MAX' undeclared (first use in this function)
cat_path.c:82: error: (Each undeclared identifier is reported only once
cat_path.c:82: error: for each function it appears in.)
make[2]: *** [cat_path.o] Fehler 1
make[2]: Verlasse Verzeichnis '/home/y/tuxbox/tuxbox-cvs/cdk/autofs-4.1.4/lib'
make[1]: *** [daemon] Fehler 2
make[1]: Verlasse Verzeichnis '/home/y/tuxbox/tuxbox-cvs/cdk/autofs-4.1.4'
make: *** [.deps/automount] Fehler 2

Als Compiler verwende ich gcc 4.1.3

Jemand eine Idee????

Gruß
yjogol