[OpenAFS] Need help on compile error

Karen L Eldredge keldredg@us.ibm.com
Tue, 29 May 2007 12:09:35 -0600


This is a multipart message in MIME format.
--=_alternative 0063B78C872572EA_=
Content-Type: text/plain; charset="US-ASCII"

I'm getting the following errors compiling, any ideas on how to get around 

these errors?

       case "rs_aix53" in  rs_aix*)  gcc   -I. -I. 
-I/openafs/openafs-1.4.4/src/config -I/openafs/openafs-1.4.4/include -c 
./lwp.c;;  *)   gcc   -K -D_NONSTD_TYPES -D_MBI=void -g 
-I/openafs/openafs-1.4.4/src/config -I. -I. 
-I/openafs/openafs-1.4.4/include -I/openafs/openafs-1.4.4/include/afs 
-I/openafs/openafs-1.4.4/include/rx -I/openafs/openafs-1.4.4 
-I/openafs/openafs-1.4.4/src -I/openafs/openafs-1.4.4/src -c ./lwp.c;; 
esac
./lwp.c: In function 'reserveFromStack':
./lwp.c:262: warning: incompatible implicit declaration of built-in 
function 'alloca'
./lwp.c: At top level:
./lwp.c:1195: error: conflicting types for 'setlim'
./lwp.c:1195: note: an argument type that has a default promotion can't 
match an empty parameter name list declaration

./lwp.c:338: error: previous implicit declaration of 'setlim' was here
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.
make: 1254-004 The error code from the last command is 2.


Karen Eldredge
keldredg@us.ibm.com

--=_alternative 0063B78C872572EA_=
Content-Type: text/html; charset="US-ASCII"


<br><tt><font size=3>I'm getting the following errors compiling, any ideas
on how to get around <br>
these errors?<br>
<br>
 &nbsp; &nbsp; &nbsp; case &quot;rs_aix53&quot; in &nbsp;rs_aix*) &nbsp;gcc
&nbsp; -I. -I. <br>
-I/openafs/openafs-1.4.4/src/config -I/openafs/openafs-1.4.4/include -c
<br>
./lwp.c;; &nbsp;*) &nbsp; gcc &nbsp; -K -D_NONSTD_TYPES -D_MBI=void -g
<br>
-I/openafs/openafs-1.4.4/src/config -I. -I. <br>
-I/openafs/openafs-1.4.4/include -I/openafs/openafs-1.4.4/include/afs <br>
-I/openafs/openafs-1.4.4/include/rx -I/openafs/openafs-1.4.4 <br>
-I/openafs/openafs-1.4.4/src -I/openafs/openafs-1.4.4/src -c ./lwp.c;;
<br>
esac<br>
./lwp.c: In function 'reserveFromStack':<br>
./lwp.c:262: warning: incompatible implicit declaration of built-in <br>
function 'alloca'<br>
./lwp.c: At top level:<br>
./lwp.c:1195: error: conflicting types for 'setlim'<br>
./lwp.c:1195: note: an argument type that has a default promotion can't
<br>
match an empty parameter name list declaration<br>
<br>
./lwp.c:338: error: previous implicit declaration of 'setlim' was here<br>
make: 1254-004 The error code from the last command is 1.<br>
<br>
<br>
Stop.<br>
make: 1254-004 The error code from the last command is 2.<br>
<br>
<br>
Stop.<br>
make: 1254-004 The error code from the last command is 2.<br>
<br>
</font></tt><font size=2 face="sans-serif"><br>
Karen Eldredge<br>
keldredg@us.ibm.com<br>
</font>
--=_alternative 0063B78C872572EA_=--