Hi All friends, This is alok here.I'm facing a problem while compiling the free radius server.While compiling I got messages about some parse errors in a file "libradius.h".The message I got while compilation is attached here.
In file included from radclient.c:28: libradius.h:118: parse error before `uint32_t' libradius.h:118: warning: no semicolon at end of struct or union libradius.h:120: parse error before `strvalue' libradius.h:120: warning: data definition has no type or storage class libradius.h:123: parse error before `}' libradius.h:123: warning: data definition has no type or storage class libradius.h:136: parse error before `uint32_t' libradius.h:136: warning: no semicolon at end of struct or union libradius.h:137: warning: data definition has no type or storage class libradius.h:142: parse error before `vector' libradius.h:142: warning: data definition has no type or storage class libradius.h:145: parse error before `*' libradius.h:145: warning: data definition has no type or storage class libradius.h:147: parse error before `*' libradius.h:147: warning: data definition has no type or storage class libradius.h:148: parse error before `}' libradius.h:148: warning: data definition has no type or storage class libradius.h:154: parse error before `VALUE_PAIR' libradius.h:155: parse error before `VALUE_PAIR' libradius.h:156: parse error before `VALUE_PAIR' libradius.h:157: parse error before `VALUE_PAIR' libradius.h:198: parse error before `*' libradius.h:199: parse error before `*' libradius.h:199: warning: data definition has no type or storage class libradius.h:200: parse error before `*' libradius.h:201: parse error before `*' libradius.h:201: warning: data definition has no type or storage class libradius.h:202: parse error before `*' libradius.h:207: parse error before `*' libradius.h:210: parse error before `*' libradius.h:210: warning: data definition has no type or storage class libradius.h:211: parse error before `*' libradius.h:212: parse error before `*' libradius.h:212: parse error before `*' libradius.h:212: warning: data definition has no type or storage class libradius.h:213: parse error before `*' libradius.h:214: parse error before `*' libradius.h:215: parse error before `*' libradius.h:215: parse error before `*' libradius.h:215: warning: data definition has no type or storage class libradius.h:216: parse error before `*' libradius.h:216: parse error before `*' libradius.h:216: warning: data definition has no type or storage class libradius.h:217: parse error before `*' libradius.h:218: parse error before `*' libradius.h:219: parse error before `*' libradius.h:219: warning: data definition has no type or storage class libradius.h:220: parse error before `*' libradius.h:220: warning: data definition has no type or storage class libradius.h:221: parse error before `VALUE_PAIR' libradius.h:246: parse error before `uint32_t' libradius.h:247: parse error before `ip_getaddr' libradius.h:247: warning: data definition has no type or storage class libradius.h:248: parse error before `uint32_t' libradius.h:249: parse error before `ip_addr' libradius.h:249: warning: data definition has no type or storage class In file included from radclient.c:56: missing.h:12: conflicting types for `strncasecmp' /usr/include/string.h:64: previous declaration of `strncasecmp' missing.h:16: conflicting types for `strcasecmp' /usr/include/string.h:61: previous declaration of `strcasecmp' radclient.c:71: parse error before `*' radclient.c: In function `readvp': radclient.c:76: `vp' undeclared (first use in this function) radclient.c:76: (Each undeclared identifier is reported only once radclient.c:76: for each function it appears in.) radclient.c:77: `list' undeclared (first use in this function) radclient.c:78: parse error before `int' radclient.c:82: `error' undeclared (first use in this function) radclient.c:94: warning: passing arg 2 of `pairread' from incompatible pointer ype radclient.c: At top level: radclient.c:139: parse error before `*' radclient.c: In function `send_packet': radclient.c:147: `req' undeclared (first use in this function) radclient.c:161: `rep' undeclared (first use in this function) radclient.c: In function `main': radclient.c:198: `req' undeclared (first use in this function) radclient.c:199: `rep' undeclared (first use in this function) radclient.c:200: parse error before `char' radclient.c:209: `vp' undeclared (first use in this function) radclient.c:210: parse error before `int' radclient.c:214: `c' undeclared (first use in this function) radclient.c:216: `optarg' undeclared (first use in this function) radclient.c:218: `count' undeclared (first use in this function) radclient.c:221: `radius_dir' undeclared (first use in this function) radclient.c:224: `filename' undeclared (first use in this function) radclient.c:258: `fp' undeclared (first use in this function) radclient.c:261: `errno' undeclared (first use in this function) radclient.c:272: `p' undeclared (first use in this function) radclient.c:217: warning: unreachable code at beginning of switch statement radclient.c:290: `optind' undeclared (first use in this function) radclient.c:315: `port' undeclared (first use in this function) radclient.c:343: `uint32_t' undeclared (first use in this function) radclient.c:343: parse error before `0xffffffff' radclient.c:389: `password' undeclared (first use in this function) radclient.c:402: `loop' undeclared (first use in this function) If anybody who may help me in resolving the problem,please do let me know through a mail. thanks regards Alok _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
