This is the mail archive of the cygwin mailing list for the Cygwin 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]

RE: rpc/types.h: No such file or directory

> You need to set those variables without $. That is CFLAGS=..., etc...

In install_makefiles (MBsystem software), "$" is needed, if not this appears:

Can't modify constant item in scalar assignment at ./install_makefiles line 109, near ""-I/usr/include/tirpc";"
Execution of ./install_makefiles aborted due to compilation errors.

for .bashrc, I used export CFLAGS=..., so with or without export it is the same, I get this after running "install_makefiles" and "make":

Gery@gery /opt/mb/mbsystem-5.4.2220
$ make
cd src; make all
make[1]: Entering directory '/opt/mb/mbsystem-5.4.2220/src'
cd gsf; make all
make[2]: Entering directory '/opt/mb/mbsystem-5.4.2220/src/gsf'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/opt/mb/mbsystem-5.4.2220/src/gsf'
cd surf; make all
make[2]: Entering directory '/opt/mb/mbsystem-5.4.2220/src/surf'
cc -c -Wall -g -I/usr/X11R6/include -DLINUX -DBYTESWAPPED mem_surf.c
In file included from xdr_surf.h:44:0,
                 from mem_surf.c:72:
surf.h:58:23: fatal error: rpc/types.h: No such file or directory
 #include <rpc/types.h>
compilation terminated.
Makefile:72: recipe for target 'mem_surf.o' failed
make[2]: *** [mem_surf.o] Error 1
make[2]: Leaving directory '/opt/mb/mbsystem-5.4.2220/src/surf'
Makefile:22: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/opt/mb/mbsystem-5.4.2220/src'
Makefile:23: recipe for target 'all' failed
make: *** [all] Error 2

Problem reports:
Unsubscribe info:

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