This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: rpc/types.h: No such file or directory
- From: "Gery ." <gamejihou at hotmail dot com>
- To: Tom Kacvinsky <tom dot kacvinsky at vectorcast dot com>, "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Tue, 19 May 2015 16:59:30 +0000
- Subject: RE: rpc/types.h: No such file or directory
- Authentication-results: sourceware.org; auth=none
- References: <DUB124-W430A09515E306F5C9F072DB0C30 at phx dot gbl> <1432049830 dot 11784 dot 38 dot camel at cygwin dot com> <DUB124-W37174205BEFCC1F13C4524B0C30 at phx dot gbl> <DUB124-W16B4CE43C28227EEC65E3CB0C30 at phx dot gbl> <5979C710-8C9E-40E9-9D9E-85DDA0994763 at vectorcast dot com> <DUB124-W31E8C535D82CFF6FF540C7B0C30 at phx dot gbl>,<95A211DA-EBC8-4F00-8D48-C8466E638238 at vectorcast dot com>
> 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: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple