PDA

Bekijk de volledige versie : Compile Oleg problem...



kpw
11-09-2006, 16:59
Hello,
I make like on http://wiki.wl500g.info/index.php/compilingcustomfirmware.
All OK but compiler break on nfs-utils.
I think that is problem with mount.h. I cant find this file ...

regards
Pawel K

P.S. sorry for my bad english...

Oleg
11-09-2006, 18:50
You've to recompile uClibc.

kpw
12-09-2006, 09:14
You've to recompile uClibc.

Yes,
i try with 0.9.19 and 0.9.27.
Compiler stops on "make dep".
something like unrecognize argument CC1 -E...

kpw
14-09-2006, 09:19
after "make" in gateway dir:

[...]
[ ! -d nfs-utils ] || make -C nfs-utils
make[1]: Entering directory `/home/src/gateway/nfs-utils'
make -w dep
make[2]: Entering directory `/home/src/gateway/nfs-utils'
Making dep in support
Making dep in include
make[4]: Nothing to be done for `dep'.
Making dep in nfs
mipsel-uclibc-gcc -O2 -I../../support/include -I/include -Wall -pipe -DVERSIONSUPPORTED -M exports.c rmtab.c xio.c rpcmisc.c rpcdispatch.c xlog.c xmalloc.c wifsexport.c getfh.c nfsctl.c lockdsvc.c svc_socket.c cacheio.c > .depend
Making dep in export
rm -f mount.h mount_clnt.c mount_xdr.c
rpcgen -h -o mount.h mount.x
cpp: error trying to exec 'cc1': execvp: No such file or directory
rpcgen: C preprocessor failed with exit code 1
make[4]: *** [mount.h] Error 1
make[3]: *** [dep] Error 2
make[2]: *** [dep] Error 2
make[2]: Leaving directory `/home/src/gateway/nfs-utils'
make[1]: *** [utils/statd/.depend] Error 2
make[1]: Leaving directory `/home/src/gateway/nfs-utils'
make: *** [nfs-utils] Error 2

i add path to cc1
export PATH=$PATH:/opt/brcm/hndtools-mipsel-linux/lib/gcc-lib/mipsel-linux/3.2.3

and ...

[...]
[ ! -d nfs-utils ] || make -C nfs-utils
make[1]: Entering directory `/home/src/gateway/nfs-utils'
make -w dep
make[2]: Entering directory `/home/src/gateway/nfs-utils'
Making dep in support
Making dep in include
make[4]: Nothing to be done for `dep'.
Making dep in nfs
mipsel-uclibc-gcc -O2 -I../../support/include -I/include -Wall -pipe -DVERSION="\"nfs-utils 1.0.7\"" -DNFS3_SUPPORTED -M exports.c rmtab.c xio.c rpcmisc.c rpcdispatch.c xlog.c xmalloc.c wildmat.c nfssvc.c nfsclient.c nfsexport.c getfh.c nfsctl.c lockdsvc.c svc_socket.c cacheio.c > .depend
Making dep in export
rm -f mount.h mount_clnt.c mount_xdr.c
rpcgen -h -o mount.h mount.x
cc1: unrecognized option `-E'
rpcgen: C preprocessor failed with exit code 1
make[4]: *** [mount.h] Error 1
make[3]: *** [dep] Error 2
make[2]: *** [dep] Error 2
make[2]: Leaving directory `/home/src/gateway/nfs-utils'
make[1]: *** [utils/statd/.depend] Error 2
make[1]: Leaving directory `/home/src/gateway/nfs-utils'
make: *** [nfs-utils] Error 2

what now??