nfs-utils 1.0.3 compile error w/gcc-3.2.2
Subsystems (2)
-rw-r--r-- 1 war wheel 2.7k Mar 28 08:24 log.bz2
The error is contained in the attachment.
Quoted 3 lines · Justin Piszcz
-rw-r--r-- 1 war wheel 2.7k Mar 28 08:24 log.bz2
The error is contained in the attachment.
Did you notice this in your log:
Making all in export
rm -f mount.h mount_clnt.c mount_xdr.c
../../bin/rpcgen -h -o mount.h mount.x
cannot find any C preprocessor (cpp)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Make sure cpp is in your search path.
Alex
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
CPP is in my path, is it hardcoded or something?
war@war:~$ which cpp /vapp/bin/cpp war@war:~$ cpp --version cpp (GCC) 3.2.2 Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
war@war:~$ echo $PATH /vapp/bin:/vapp/sbin:/appc/netscape-4.8:/appc/realplayer-8.0:/appc/j2re-1.4.1/bin:/appc/jdk-1.4.1/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin war@war:~$
Quoted 17 lines · Alex Thiel
Quoted 5 lines · Justin Piszcz
-rw-r--r-- 1 war wheel 2.7k Mar 28 08:24 log.bz2
The error is contained in the attachment.
Did you notice this in your log:
Making all in export
rm -fmount.hmount_clnt.cmount_xdr.c
../../bin/rpcgen -h -omount.hmount.x
cannot find any C preprocessor (cpp)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Quoted 8 lines
Make sure cpp is in your search path.
Alex
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
Taking a quick glance at tools/rpcgen/rpc_main.c, I notice that by default rpcgen expects cpp in one of these two locations:
#define SVR4_CPP "/usr/ccs/lib/cpp"
#define SUNOS_CPP "/lib/cpp"
However, rpcgen --help reveals this:
./rpcgen --help
[snip]
-Y path directory name to find C preprocessor (cpp)
Hope that helps,
Alex
Quoted 34 lines · Justin Piszcz
CPP is in my path, is it hardcoded or something?
war@war:~$ which cpp /vapp/bin/cpp war@war:~$ cpp --version cpp (GCC) 3.2.2 Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.war@war:~$ echo $PATH /vapp/bin:/vapp/sbin:/appc/netscape-4.8:/appc/realplayer-8.0:/appc/j2re-1.4 .1/bin:/appc/jdk-1.4.1/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr /local/bin:/usr/local/sbin war@war:~$Quoted 13 lines · Alex Thiel
Quoted 3 lines · Justin Piszcz
-rw-r--r-- 1 war wheel 2.7k Mar 28 08:24 log.bz2
The error is contained in the attachment.
Did you notice this in your log:
Making all in export
rm -fmount.hmount_clnt.cmount_xdr.c
../../bin/rpcgen -h -omount.hmount.x
cannot find any C preprocessor (cpp)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Quoted 3 lines
Make sure cpp is in your search path.
Alex
Quoted 8 lines
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs