Hi, On Thu, 6 Nov 2003, Mark Townley wrote: > I get the following output when trying to compile today�s build (on > solaris). > � > I was wondering if it is similar to the problem with yesterdays build that > Alan said would be fixed? > �
That's right! Guess you have the wrong sha1.h file, so delete sha1.h and start "cvs .." again. But there are more u_int... types in some other header and *.c files. I changed them all to "uint..." types. Now it works. Ralf. > Any ideas anyone? > � > Mark. > � > missing-prototypes -Wmissing-declarations -Wnested-externs -W > -Wredundant-decls -Wundef -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > -DEAPLIB -I../../../include� -c fips186prf.c -o fips186prf.o In file > included from fips186prf.c:53: > ../../../include/sha1.h:34: error: parse error before "mk" > ../../../include/sha1.h:34: warning: function declaration isn't a prototype > fips186prf.c:62: error: parse error before "u_int8_t" > fips186prf.c:62: warning: no semicolon at end of struct or union > fips186prf.c:63: warning: type defaults to `int' in declaration of > `onesixty' > fips186prf.c:63: warning: data definition has no type or storage class > fips186prf.c:65: error: parse error before '*' token > fips186prf.c:66: warning: function declaration isn't a prototype > fips186prf.c: In function `onesixty_add_mod': > fips186prf.c:67: error: `u_int32_t' undeclared (first use in this function) > fips186prf.c:67: error: (Each undeclared identifier is reported only once > fips186prf.c:67: error: for each function it appears in.) > fips186prf.c:67: error: parse error before "s" > fips186prf.c:73: error: `s' undeclared (first use in this function) > fips186prf.c:73: error: `a' undeclared (first use in this function) > fips186prf.c:73: error: `b' undeclared (first use in this function) > fips186prf.c:74: error: `sum' undeclared (first use in this function) > fips186prf.c: At top level: > fips186prf.c:88: error: parse error before "mk" > fips186prf.c:89: warning: function declaration isn't a prototype > fips186prf.c: In function `fips186_2prf': > fips186prf.c:92: error: parse error before "xval" > fips186prf.c:93: error: `u_int8_t' undeclared (first use in this function) > fips186prf.c:93: error: `f' undeclared (first use in this function) > fips186prf.c:109: warning: implicit declaration of function `memcpy' > fips186prf.c:109: error: `xkey' undeclared (first use in this function) > fips186prf.c:109: error: `mk' undeclared (first use in this function) > fips186prf.c:112: warning: implicit declaration of function `memset' > fips186prf.c:112: error: `one' undeclared (first use in this function) > fips186prf.c:115: error: `finalkey' undeclared (first use in this function) > fips186prf.c:119: error: `xval' undeclared (first use in this function) > fips186prf.c:127: error: `w_0' undeclared (first use in this function) > fips186prf.c:130: error: `sum' undeclared (first use in this function) > fips186prf.c:142: error: `w_1' undeclared (first use in this function) > gmake[8]: *** [fips186prf.o] Error 1 > � > > > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html > - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
