[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RCS 5.9.0 does not compile on Solaris
From: |
Jörn Clausen |
Subject: |
RCS 5.9.0 does not compile on Solaris |
Date: |
Wed, 29 May 2013 13:12:48 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.2.28) Gecko/20120307 Lightning/1.0b2 Thunderbird/3.1.20 |
Hi!
Compiling RCS 5.9.0 on Solaris with GCC 4.7.3 fails with
gcc -std=gnu99 -std=gnu99 -DHAVE_CONFIG_H -I. -I../lib -I'../lib'
-I/usr/pkgsrc/20130422/include -D_REENTRANT -g -O2 -MT super.o -MD -MP
-MF .deps/super.Tpo -c -o super.o super.c
super.c:68:25: error: unknown type name 'submain_t'
super.c:80:1: warning: parameter names (without types) in function
declaration [enabled by default]
super.c:81:1: warning: parameter names (without types) in function
declaration [enabled by default]
super.c:82:1: warning: parameter names (without types) in function
declaration [enabled by default]
super.c:83:1: warning: parameter names (without types) in function
declaration [enabled by default]
super.c:84:1: warning: parameter names (without types) in function
declaration [enabled by default]
super.c:85:1: warning: parameter names (without types) in function
declaration [enabled by default]
super.c:86:1: warning: parameter names (without types) in function
declaration [enabled by default]
super.c:92:5: error: 'ci' undeclared here (not in a function)
super.c:93:5: error: 'co' undeclared here (not in a function)
super.c:94:5: error: 'rcs' undeclared here (not in a function)
super.c:95:5: error: 'rcsclean' undeclared here (not in a function)
super.c:96:5: error: 'rcsdiff' undeclared here (not in a function)
super.c:97:5: error: 'rcsmerge' undeclared here (not in a function)
super.c:98:5: error: 'rlog' undeclared here (not in a function)
super.c:103:1: error: unknown type name 'submain_t'
super.c: In function 'recognize':
super.c:112:29: error: dereferencing pointer to incomplete type
super.c:112:29: error: request for member 'aka' in something not a
structure or union
super.c:112:28: warning: initialization from incompatible pointer type
[enabled by default]
super.c:121:21: error: dereferencing pointer to incomplete type
super.c:121:21: error: request for member 'func' in something not a
structure or union
super.c:121:13: warning: return from incompatible pointer type [enabled
by default]
super.c: In function 'display_commands':
super.c:154:29: error: dereferencing pointer to incomplete type
super.c:154:29: error: request for member 'aka' in something not a
structure or union
super.c:154:28: warning: initialization from incompatible pointer type
[enabled by default]
super.c:158:38: error: dereferencing pointer to incomplete type
super.c:158:38: error: request for member 'pr' in something not a
structure or union
super.c:158:42: error: request for member 'desc' in something not a
structure or union
super.c: In function 'display_aliases':
super.c:169:29: error: dereferencing pointer to incomplete type
super.c:169:29: error: request for member 'aka' in something not a
structure or union
super.c:169:28: warning: initialization from incompatible pointer type
[enabled by default]
super.c: In function 'main':
super.c:232:3: error: unknown type name 'submain_t'
super.c:256:7: warning: implicit declaration of function 'dispatch'
[-Wimplicit-function-declaration]
gmake[2]: *** [super.o] Error 1
gmake[2]: Leaving directory `/pkgsrc/source/local/rcs-5.9.0/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/pkgsrc/source/local/rcs-5.9.0/src'
gmake: *** [all-recursive] Error 1
Where is submain_t supposed to be defined? I can compile the software on
NetBSD, but can't find the definition their either.
--
Jörn Clausen address@hidden
Hochschulrechenzentrum http://www.uni-bielefeld.de/hrz/
Universität Bielefeld
- RCS 5.9.0 does not compile on Solaris,
Jörn Clausen <=