compile help with linux/Alpha

Robert Klingsten bladex at engin.umich.edu
Fri Sep 1 22:07:22 CEST 2000


Hello there --

I've been trying to get a clean compile on Alpha Linux 
(Redhat 6.2 - 2.2.14 kernel on a Ruffian) and ran into a snag. 
I'm not much of a C programmer, so maybe someone can give me a hint
or 3? This is with arla 0.34.2 and krb4-1.0.2...  I wish I knew
more to help myself.  BTW, egcs-2.91.66 too.  Anyway, here's the
blowup:

[bladex at gigashadow arla-0.34.2]$ make
.
.
.
gcc -c  -DHAVE_CONFIG_H -I. -I. -I../include -I./../include -I/usr/athena/include -g  -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs  -I../rxdef -I./../appl/lib apwd.c
apwd.c: In function `test_1':
apwd.c:297: warning: unsigned int format, different type arg (arg 3)
apwd.c:301: warning: unsigned int format, different type arg (arg 4)
apwd.c:356: warning: int format, different type arg (arg 3)
apwd.c: At top level:
apwd.c:389: parse error before `sys_getcwd'
apwd.c:391: warning: return-type defaults to `int'
apwd.c: In function `_syscall2':
apwd.c:393: storage class specified for parameter `getcwd_syscall'
apwd.c:393: parse error before `{'
apwd.c:393: declaration for parameter `getcwd_syscall' but no such parameter
apwd.c:397: `dynamic_buf' undeclared (first use in this function)
apwd.c:397: (Each undeclared identifier is reported only once
apwd.c:397: for each function it appears in.)
apwd.c:398: `buf' undeclared (first use in this function)
apwd.c:398: `size' undeclared (first use in this function)
apwd.c:399: warning: return makes integer from pointer without a cast
apwd.c:400: warning: control reaches end of non-void function
apwd.c: At top level:
apwd.c:402: parse error before `for'
apwd.c:405: warning: type defaults to `int' in declaration of `ret'
apwd.c:405: warning: implicit declaration of function `sys_getcwd'
apwd.c:405: `buf' undeclared here (not in a function)
apwd.c:405: `size' undeclared here (not in a function)
apwd.c:405: initializer element is not constant
apwd.c:405: warning: data definition has no type or storage class
apwd.c:406: parse error before `if'
apwd.c: In function `main':
apwd.c:464: `getcwd_syscall' undeclared (first use in this function)
apwd.c: At top level:
apwd.c:391: warning: `_syscall2' defined but not used
make[1]: *** [apwd.o] Error 1
make[1]: Leaving directory `/home/bladex/afs/arla-0.34.2/tests'
make: *** [all] Error 1


Thanks for any help!

Rob Klingsten







More information about the Arla-drinkers mailing list