[R] Solaris 8 error - make: Fatal error: Command failed for target `saveload.o'

Prof Brian D Ripley ripley at stats.ox.ac.uk
Tue Mar 19 20:56:25 CET 2002


Quick check: this is a current version of gcc and it was compiled
under Solaris 8?

t_uscalar_t is defined in sys/types.h, and that is included (indirectly) by
rpc/rpc.h.  But it is also a file gcc replaces, so version
matching is critical.

Alternatively, try using a current Sun compiler.


On Tue, 19 Mar 2002, Craig Stewart - SIGNAL wrote:

> After a clean "configure" under Solaris, my R-1.4.1 make is dying with this
> error & the others below.  Does anyone know how to fix this/these problems?
> Thanks in advance for your assistance - Craig Stewart
>
> > make
> ...
> gcc -I. -I../../src/include -I../../src/include -I/usr/local/include
> -DHAVE_CONFIG_H   -g -O2 -c random.c -o random.o
> gcc -I. -I../../src/include -I../../src/include -I/usr/local/include
> -DHAVE_CONFIG_H   -g -O2 -c regex.c -o regex.o
> gcc -I. -I../../src/include -I../../src/include -I/usr/local/include
> -DHAVE_CONFIG_H   -g -O2 -c relop.c -o relop.o
> gcc -I. -I../../src/include -I../../src/include -I/usr/local/include
> -DHAVE_CONFIG_H   -g -O2 -c saveload.c -o saveload.o
> In file included from /usr/include/sys/tiuser.h:18,
>                  from /usr/include/tiuser.h:17,
>                  from /usr/include/rpc/rpc.h:22,
>                  from saveload.c:269:
> /usr/include/sys/tpicommon.h:155: parse error before `t_uscalar_t'
> /usr/include/sys/tpicommon.h:155: warning: no semicolon at end of struct or
> union
> /usr/include/sys/tpicommon.h:156: warning: data definition has no type or
> storage class
> /usr/include/sys/tpicommon.h:157: parse error before `len'
> /usr/include/sys/tpicommon.h:157: warning: data definition has no type or
> storage class
> In file included from /usr/include/tiuser.h:17,
>                  from /usr/include/rpc/rpc.h:22,
>                  from saveload.c:269:
> /usr/include/sys/tiuser.h:50: parse error before `t_scalar_t'
> /usr/include/sys/tiuser.h:50: warning: no semicolon at end of struct or union
> /usr/include/sys/tiuser.h:51: warning: data definition has no type or storage
> class
> /usr/include/sys/tiuser.h:52: parse error before `tsdu'
> /usr/include/sys/tiuser.h:52: warning: data definition has no type or storage
> class
> /usr/include/sys/tiuser.h:53: parse error before `etsdu'
> /usr/include/sys/tiuser.h:53: warning: data definition has no type or storage
> class
> /usr/include/sys/tiuser.h:54: parse error before `connect'
> /usr/include/sys/tiuser.h:54: warning: data definition has no type or storage
> class
> /usr/include/sys/tiuser.h:55: parse error before `discon'
> /usr/include/sys/tiuser.h:55: warning: data definition has no type or storage
> class
> /usr/include/sys/tiuser.h:56: parse error before `servtype'
> /usr/include/sys/tiuser.h:56: warning: data definition has no type or storage
> class
> /usr/include/sys/tiuser.h:91: parse error before `t_scalar_t'
> /usr/include/sys/tiuser.h:91: warning: no semicolon at end of struct or union
> /usr/include/sys/tiuser.h:128: parse error before `t_scalar_t'
> /usr/include/sys/tiuser.h:128: warning: no semicolon at end of struct or union
> In file included from /usr/include/rpc/clnt.h:18,
>                  from /usr/include/rpc/rpc.h:34,
>                  from saveload.c:269:
> /usr/include/rpc/rpc_com.h:41: warning: parameter names (without types) in
> function declaration
> /usr/include/rpc/rpc_com.h:42: warning: parameter names (without types) in
> function declaration
> In file included from /usr/include/rpc/rpc.h:39,
>                  from saveload.c:269:
> /usr/include/sys/socket.h:444: `connect' redeclared as different kind of symbol
> /usr/include/sys/tiuser.h:54: previous declaration of `connect'
> In file included from /usr/include/rpc/svc.h:17,
>                  from /usr/include/rpc/rpc.h:42,
>                  from saveload.c:269:
> /usr/include/sys/tihdr.h:241: parse error before `t_scalar_t'
> /usr/include/sys/tihdr.h:241: warning: no semicolon at end of struct or union
> /usr/include/sys/tihdr.h:242: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:243: parse error before `DEST_offset'
> /usr/include/sys/tihdr.h:243: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:244: parse error before `OPT_length'
> /usr/include/sys/tihdr.h:244: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:245: parse error before `OPT_offset'
> /usr/include/sys/tihdr.h:245: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:261: parse error before `t_scalar_t'
> /usr/include/sys/tihdr.h:261: warning: no semicolon at end of struct or union
> /usr/include/sys/tihdr.h:262: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:263: parse error before `OPT_length'
> /usr/include/sys/tihdr.h:263: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:264: parse error before `OPT_offset'
> /usr/include/sys/tihdr.h:264: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:265: parse error before `SEQ_number'
> /usr/include/sys/tihdr.h:265: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:271: parse error before `t_scalar_t'
> /usr/include/sys/tihdr.h:271: warning: no semicolon at end of struct or union
> /usr/include/sys/tihdr.h:272: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:278: parse error before `t_scalar_t'
> /usr/include/sys/tihdr.h:278: warning: no semicolon at end of struct or union
> /usr/include/sys/tihdr.h:279: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:285: parse error before `t_scalar_t'
> /usr/include/sys/tihdr.h:285: warning: no semicolon at end of struct or union
> /usr/include/sys/tihdr.h:286: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:292: parse error before `t_scalar_t'
> /usr/include/sys/tihdr.h:292: warning: no semicolon at end of struct or union
> /usr/include/sys/tihdr.h:298: parse error before `t_scalar_t'
> /usr/include/sys/tihdr.h:298: warning: no semicolon at end of struct or union
> /usr/include/sys/tihdr.h:299: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:300: parse error before `ADDR_offset'
> /usr/include/sys/tihdr.h:300: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:301: parse error before `CONIND_number'
> /usr/include/sys/tihdr.h:301: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:307: parse error before `t_scalar_t'
> /usr/include/sys/tihdr.h:307: warning: no semicolon at end of struct or union
> /usr/include/sys/tihdr.h:313: parse error before `t_scalar_t'
> /usr/include/sys/tihdr.h:313: warning: no semicolon at end of struct or union
> /usr/include/sys/tihdr.h:314: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:315: parse error before `DEST_offset'
> /usr/include/sys/tihdr.h:315: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:316: parse error before `OPT_length'
> /usr/include/sys/tihdr.h:316: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:317: parse error before `OPT_offset'
> /usr/include/sys/tihdr.h:317: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:323: parse error before `t_scalar_t'
> /usr/include/sys/tihdr.h:323: warning: no semicolon at end of struct or union
> /usr/include/sys/tihdr.h:325: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:326: parse error before `OPT_offset'
> /usr/include/sys/tihdr.h:326: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:327: parse error before `MGMT_flags'
> /usr/include/sys/tihdr.h:327: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:333: parse error before `t_scalar_t'
> /usr/include/sys/tihdr.h:333: warning: no semicolon at end of struct or union
> /usr/include/sys/tihdr.h:339: parse error before `t_scalar_t'
> /usr/include/sys/tihdr.h:339: warning: no semicolon at end of struct or union
> /usr/include/sys/tihdr.h:345: parse error before `t_scalar_t'
> /usr/include/sys/tihdr.h:345: warning: no semicolon at end of struct or union
> /usr/include/sys/tihdr.h:346: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:347: parse error before `SRC_offset'
> /usr/include/sys/tihdr.h:347: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:348: parse error before `OPT_length'
> /usr/include/sys/tihdr.h:348: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:349: parse error before `OPT_offset'
> /usr/include/sys/tihdr.h:349: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:350: parse error before `SEQ_number'
> /usr/include/sys/tihdr.h:350: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:356: parse error before `t_scalar_t'
> /usr/include/sys/tihdr.h:356: warning: no semicolon at end of struct or union
> /usr/include/sys/tihdr.h:357: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:358: parse error before `RES_offset'
> /usr/include/sys/tihdr.h:358: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:359: parse error before `OPT_length'
> /usr/include/sys/tihdr.h:359: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:360: parse error before `OPT_offset'
> /usr/include/sys/tihdr.h:360: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:366: parse error before `t_scalar_t'
> /usr/include/sys/tihdr.h:366: warning: no semicolon at end of struct or union
> /usr/include/sys/tihdr.h:367: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:368: parse error before `SEQ_number'
> /usr/include/sys/tihdr.h:368: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:374: parse error before `t_scalar_t'
> /usr/include/sys/tihdr.h:374: warning: no semicolon at end of struct or union
> /usr/include/sys/tihdr.h:375: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:381: parse error before `t_scalar_t'
> /usr/include/sys/tihdr.h:381: warning: no semicolon at end of struct or union
> /usr/include/sys/tihdr.h:382: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:388: parse error before `t_scalar_t'
> /usr/include/sys/tihdr.h:388: warning: no semicolon at end of struct or union
> /usr/include/sys/tihdr.h:389: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:390: parse error before `ETSDU_size'
> /usr/include/sys/tihdr.h:390: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:391: parse error before `CDATA_size'
> /usr/include/sys/tihdr.h:391: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:392: parse error before `DDATA_size'
> /usr/include/sys/tihdr.h:392: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:393: parse error before `ADDR_size'
> /usr/include/sys/tihdr.h:393: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:394: parse error before `OPT_size'
> /usr/include/sys/tihdr.h:394: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:395: parse error before `TIDU_size'
> /usr/include/sys/tihdr.h:395: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:396: parse error before `SERV_type'
> /usr/include/sys/tihdr.h:396: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:397: parse error before `CURRENT_state'
> /usr/include/sys/tihdr.h:397: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:398: parse error before `PROVIDER_flag'
> /usr/include/sys/tihdr.h:398: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:433: parse error before `t_scalar_t'
> /usr/include/sys/tihdr.h:433: warning: no semicolon at end of struct or union
> /usr/include/sys/tihdr.h:434: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:435: parse error before `ADDR_offset'
> /usr/include/sys/tihdr.h:435: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:436: parse error before `CONIND_number'
> /usr/include/sys/tihdr.h:436: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:442: parse error before `t_scalar_t'
> /usr/include/sys/tihdr.h:442: warning: no semicolon at end of struct or union
> /usr/include/sys/tihdr.h:443: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:444: parse error before `TLI_error'
> /usr/include/sys/tihdr.h:444: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:445: parse error before `UNIX_error'
> /usr/include/sys/tihdr.h:445: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:451: parse error before `t_scalar_t'
> /usr/include/sys/tihdr.h:451: warning: no semicolon at end of struct or union
> /usr/include/sys/tihdr.h:452: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:458: parse error before `t_scalar_t'
> /usr/include/sys/tihdr.h:458: warning: no semicolon at end of struct or union
> /usr/include/sys/tihdr.h:459: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:460: parse error before `SRC_offset'
> /usr/include/sys/tihdr.h:460: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:461: parse error before `OPT_length'
> /usr/include/sys/tihdr.h:461: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:462: parse error before `OPT_offset'
> /usr/include/sys/tihdr.h:462: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:468: parse error before `t_scalar_t'
> /usr/include/sys/tihdr.h:468: warning: no semicolon at end of struct or union
> /usr/include/sys/tihdr.h:469: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:470: parse error before `DEST_offset'
> /usr/include/sys/tihdr.h:470: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:471: parse error before `OPT_length'
> /usr/include/sys/tihdr.h:471: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:472: parse error before `OPT_offset'
> /usr/include/sys/tihdr.h:472: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:473: parse error before `ERROR_type'
> /usr/include/sys/tihdr.h:473: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:479: parse error before `t_scalar_t'
> /usr/include/sys/tihdr.h:479: warning: no semicolon at end of struct or union
> /usr/include/sys/tihdr.h:480: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:481: parse error before `OPT_offset'
> /usr/include/sys/tihdr.h:481: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:482: parse error before `MGMT_flags'
> /usr/include/sys/tihdr.h:482: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:488: parse error before `t_scalar_t'
> /usr/include/sys/tihdr.h:488: warning: no semicolon at end of struct or union
> /usr/include/sys/tihdr.h:495: parse error before `t_scalar_t'
> /usr/include/sys/tihdr.h:495: warning: no semicolon at end of struct or union
> /usr/include/sys/tihdr.h:496: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:497: parse error before `LOCADDR_offset'
> /usr/include/sys/tihdr.h:497: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:498: parse error before `REMADDR_length'
> /usr/include/sys/tihdr.h:498: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:499: parse error before `REMADDR_offset'
> /usr/include/sys/tihdr.h:499: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:564: parse error before `t_scalar_t'
> /usr/include/sys/tihdr.h:564: warning: no semicolon at end of struct or union
> /usr/include/sys/tihdr.h:600: parse error before `}'
> /usr/include/sys/tihdr.h:629: parse error before `t_uscalar_t'
> /usr/include/sys/tihdr.h:629: warning: no semicolon at end of struct or union
> /usr/include/sys/tihdr.h:630: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:631: parse error before `name'
> /usr/include/sys/tihdr.h:631: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:632: parse error before `status'
> /usr/include/sys/tihdr.h:632: warning: data definition has no type or storage
> class
> /usr/include/sys/tihdr.h:565: storage size of `conn_req' isn't known
> /usr/include/sys/tihdr.h:566: storage size of `conn_res' isn't known
> /usr/include/sys/tihdr.h:567: storage size of `discon_req' isn't known
> /usr/include/sys/tihdr.h:568: storage size of `data_req' isn't known
> /usr/include/sys/tihdr.h:569: storage size of `exdata_req' isn't known
> /usr/include/sys/tihdr.h:570: storage size of `info_req' isn't known
> /usr/include/sys/tihdr.h:571: storage size of `bind_req' isn't known
> /usr/include/sys/tihdr.h:572: storage size of `unbind_req' isn't known
> /usr/include/sys/tihdr.h:573: storage size of `unitdata_req' isn't known
> /usr/include/sys/tihdr.h:574: storage size of `optmgmt_req' isn't known
> /usr/include/sys/tihdr.h:575: storage size of `ordrel_req' isn't known
> /usr/include/sys/tihdr.h:576: storage size of `addr_req' isn't known
> /usr/include/sys/tihdr.h:577: storage size of `conn_ind' isn't known
> /usr/include/sys/tihdr.h:578: storage size of `conn_con' isn't known
> /usr/include/sys/tihdr.h:579: storage size of `discon_ind' isn't known
> /usr/include/sys/tihdr.h:580: storage size of `data_ind' isn't known
> /usr/include/sys/tihdr.h:581: storage size of `exdata_ind' isn't known
> /usr/include/sys/tihdr.h:582: storage size of `info_ack' isn't known
> /usr/include/sys/tihdr.h:583: storage size of `bind_ack' isn't known
> /usr/include/sys/tihdr.h:584: storage size of `error_ack' isn't known
> /usr/include/sys/tihdr.h:585: storage size of `ok_ack' isn't known
> /usr/include/sys/tihdr.h:586: storage size of `unitdata_ind' isn't known
> /usr/include/sys/tihdr.h:587: storage size of `uderror_ind' isn't known
> /usr/include/sys/tihdr.h:588: storage size of `optmgmt_ack' isn't known
> /usr/include/sys/tihdr.h:589: storage size of `ordrel_ind' isn't known
> /usr/include/sys/tihdr.h:590: storage size of `addr_ack' isn't known
> *** Error code 1
> make: Fatal error: Command failed for target `saveload.o'
> Current working directory /opt/R-1.4.1/src/main
> *** Error code 1
> make: Fatal error: Command failed for target `R'
> Current working directory /opt/R-1.4.1/src/main
> *** Error code 1
> make: Fatal error: Command failed for target `R'
> Current working directory /opt/R-1.4.1/src
> *** Error code 1
> make: Fatal error: Command failed for target `R'
>
>
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list