New build system in "master" branch

Matthew Newton mcn4 at leicester.ac.uk
Tue Jan 24 11:49:09 CET 2012


On Tue, Jan 24, 2012 at 09:08:48AM +0100, Alan DeKok wrote:
> Matthew Newton wrote:
> > I get the same as Alan:
> 
>   Hmm... it's probably not creating the build/make directory.

Seems to be doing so.

>   Which version of GNU Make do you have?

3.81


(I've pulled the latest from github):

>   What happens if you run this on the command line:
> 
> $ gcc scripts//jlibtool.c -o build/make/jlibtool

$ gcc scripts//jlibtool.c -o build/make/jlibtool
scripts//jlibtool.c: In function 'parse_output_file_name':
scripts//jlibtool.c:1570: warning: passing argument 1 of 'strcpy' discards qualifiers from pointer target type
/usr/include/string.h:127: note: expected 'char * __restrict__' but argument is of type 'const char *'
scripts//jlibtool.c:1579: warning: passing argument 1 of 'free' discards qualifiers from pointer target type
/usr/include/stdlib.h:488: note: expected 'void *' but argument is of type 'const char *'
$


>   Does the build/make/jlibtool file exist?

Yes (now - it didn't on yesterday's HEAD).

>   What happens if you do "mkdir -p build/make", and then "make" ?
> 
>   I'd really like to know which command is failing...

With latest, I get

$ echo 'BOILER=yes' >> Make.inc.in
$ ./configure
...
$ make
gcc scripts//jlibtool.c -o build/make/jlibtool
scripts//jlibtool.c: In function 'parse_output_file_name':
scripts//jlibtool.c:1570: warning: passing argument 1 of 'strcpy' discards qualifiers from pointer target type
/usr/include/string.h:127: note: expected 'char * __restrict__' but argument is of type 'const char *'
scripts//jlibtool.c:1579: warning: passing argument 1 of 'free' discards qualifiers from pointer target type
/usr/include/stdlib.h:488: note: expected 'void *' but argument is of type 'const char *'
[ -e build/make/include/freeradius-devel ] || (mkdir -p build/make/include/ && ln -s /home/mcn4/freeradius-server/src/include build/make/include/freeradius-devel)
CC src/lib/dict.c
src/lib/dict.c:23:36: error: freeradius-devel/ident.h: No such file or directory
src/lib/dict.c:24: error: expected declaration specifiers or '...' before string constant
src/lib/dict.c:26:40: error: freeradius-devel/libradius.h: No such file or directory
In file included from /usr/include/ctype.h:28,
                 from src/lib/dict.c:32:
/usr/include/bits/types.h: In function 'RCSID':
/usr/include/bits/types.h:31: error: storage class specified for parameter '__u_char'
/usr/include/bits/types.h:32: error: storage class specified for parameter '__u_short'
/usr/include/bits/types.h:33: error: storage class specified for parameter '__u_int'
/usr/include/bits/types.h:34: error: storage class specified for parameter '__u_long'
/usr/include/bits/types.h:37: error: storage class specified for parameter '__int8_t'
/usr/include/bits/types.h:38: error: storage class specified for parameter '__uint8_t'
/usr/include/bits/types.h:39: error: storage class specified for parameter '__int16_t'
/usr/include/bits/types.h:40: error: storage class specified for parameter '__uint16_t'
/usr/include/bits/types.h:41: error: storage class specified for parameter '__int32_t'
/usr/include/bits/types.h:42: error: storage class specified for parameter '__uint32_t'
/usr/include/bits/types.h:47: error: expected declaration specifiers before '__extension__'
/usr/include/bits/types.h:48: error: expected declaration specifiers before '__extension__'
/usr/include/bits/types.h:56: error: expected declaration specifiers before '__extension__'
/usr/include/bits/types.h:57: error: expected declaration specifiers before '__extension__'
In file included from /usr/include/ctype.h:28,
                 from src/lib/dict.c:32:
/usr/include/bits/types.h:134: error: expected declaration specifiers before '__extension__'
/usr/include/bits/types.h:135: error: expected declaration specifiers before '__extension__'
/usr/include/bits/types.h:136: error: expected declaration specifiers before '__extension__'
/usr/include/bits/types.h:137: error: expected declaration specifiers before '__extension__'
/usr/include/bits/types.h:138: error: expected declaration specifiers before '__extension__'
/usr/include/bits/types.h:139: error: expected declaration specifiers before '__extension__'
/usr/include/bits/types.h:140: error: expected declaration specifiers before '__extension__'
/usr/include/bits/types.h:141: error: expected declaration specifiers before '__extension__'
/usr/include/bits/types.h:142: error: expected declaration specifiers before '__extension__'
/usr/include/bits/types.h:143: error: expected declaration specifiers before '__extension__'
/usr/include/bits/types.h:144: error: expected declaration specifiers before '__extension__'
/usr/include/bits/types.h:144: error: expected declaration specifiers before '__fsid_t'
/usr/include/bits/types.h:145: error: expected declaration specifiers before '__extension__'
/usr/include/bits/types.h:146: error: expected declaration specifiers before '__extension__'
/usr/include/bits/types.h:147: error: expected declaration specifiers before '__extension__'
/usr/include/bits/types.h:148: error: expected declaration specifiers before '__extension__'
/usr/include/bits/types.h:149: error: expected declaration specifiers before '__extension__'
/usr/include/bits/types.h:150: error: expected declaration specifiers before '__extension__'
/usr/include/bits/types.h:151: error: expected declaration specifiers before '__extension__'
/usr/include/bits/types.h:153: error: expected declaration specifiers before '__extension__'
/usr/include/bits/types.h:154: error: expected declaration specifiers before '__extension__'
/usr/include/bits/types.h:155: error: expected declaration specifiers before '__extension__'
/usr/include/bits/types.h:158: error: expected declaration specifiers before '__extension__'
/usr/include/bits/types.h:161: error: expected declaration specifiers before '__extension__'
/usr/include/bits/types.h:164: error: expected declaration specifiers before '__extension__'
/usr/include/bits/types.h:169: error: expected declaration specifiers before '__extension__'
/usr/include/bits/types.h:170: error: expected declaration specifiers before '__extension__'
/usr/include/bits/types.h:173: error: expected declaration specifiers before '__extension__'
/usr/include/bits/types.h:174: error: expected declaration specifiers before '__extension__'
/usr/include/bits/types.h:177: error: expected declaration specifiers before '__extension__'
/usr/include/bits/types.h:178: error: expected declaration specifiers before '__extension__'
/usr/include/bits/types.h:180: error: expected declaration specifiers before '__extension__'
/usr/include/bits/types.h:184: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__loff_t'
/usr/include/bits/types.h:185: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/bits/types.h:186: error: storage class specified for parameter '__caddr_t'
/usr/include/bits/types.h:189: error: expected declaration specifiers before '__extension__'
/usr/include/bits/types.h:192: error: expected declaration specifiers before '__extension__'
In file included from src/lib/dict.c:32:
/usr/include/ctype.h:82: error: storage class specified for parameter '__ctype_b_loc'
/usr/include/ctype.h:83: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/ctype.h:85: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/ctype.h:102: error: storage class specified for parameter 'isalnum'
/usr/include/ctype.h:103: error: storage class specified for parameter 'isalpha'
/usr/include/ctype.h:104: error: storage class specified for parameter 'iscntrl'
/usr/include/ctype.h:105: error: storage class specified for parameter 'isdigit'
/usr/include/ctype.h:106: error: storage class specified for parameter 'islower'
/usr/include/ctype.h:107: error: storage class specified for parameter 'isgraph'
/usr/include/ctype.h:108: error: storage class specified for parameter 'isprint'
/usr/include/ctype.h:109: error: storage class specified for parameter 'ispunct'
/usr/include/ctype.h:110: error: storage class specified for parameter 'isspace'
/usr/include/ctype.h:111: error: storage class specified for parameter 'isupper'
/usr/include/ctype.h:112: error: storage class specified for parameter 'isxdigit'
/usr/include/ctype.h:116: error: storage class specified for parameter 'tolower'
/usr/include/ctype.h:119: error: storage class specified for parameter 'toupper'
/usr/include/ctype.h:128: error: storage class specified for parameter 'isblank'
/usr/include/ctype.h:135: error: storage class specified for parameter 'isctype'
/usr/include/ctype.h:142: error: storage class specified for parameter 'isascii'
/usr/include/ctype.h:146: error: storage class specified for parameter 'toascii'
/usr/include/ctype.h:150: error: storage class specified for parameter '_toupper'
/usr/include/ctype.h:151: error: storage class specified for parameter '_tolower'
/usr/include/ctype.h:192: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/usr/include/ctype.h:198: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
In file included from /usr/include/ctype.h:233,
                 from src/lib/dict.c:32:
/usr/include/xlocale.h:40: error: storage class specified for parameter '__locale_t'
/usr/include/xlocale.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'locale_t'
In file included from src/lib/dict.c:32:
/usr/include/ctype.h:247: error: expected declaration specifiers or '...' before '__locale_t'
/usr/include/ctype.h:247: error: storage class specified for parameter 'isalnum_l'
/usr/include/ctype.h:248: error: expected declaration specifiers or '...' before '__locale_t'
/usr/include/ctype.h:248: error: storage class specified for parameter 'isalpha_l'
/usr/include/ctype.h:249: error: expected declaration specifiers or '...' before '__locale_t'
/usr/include/ctype.h:249: error: storage class specified for parameter 'iscntrl_l'
/usr/include/ctype.h:250: error: expected declaration specifiers or '...' before '__locale_t'
/usr/include/ctype.h:250: error: storage class specified for parameter 'isdigit_l'
/usr/include/ctype.h:251: error: expected declaration specifiers or '...' before '__locale_t'
/usr/include/ctype.h:251: error: storage class specified for parameter 'islower_l'
/usr/include/ctype.h:252: error: expected declaration specifiers or '...' before '__locale_t'
/usr/include/ctype.h:252: error: storage class specified for parameter 'isgraph_l'
/usr/include/ctype.h:253: error: expected declaration specifiers or '...' before '__locale_t'
/usr/include/ctype.h:253: error: storage class specified for parameter 'isprint_l'
/usr/include/ctype.h:254: error: expected declaration specifiers or '...' before '__locale_t'
/usr/include/ctype.h:254: error: storage class specified for parameter 'ispunct_l'
/usr/include/ctype.h:255: error: expected declaration specifiers or '...' before '__locale_t'
/usr/include/ctype.h:255: error: storage class specified for parameter 'isspace_l'
/usr/include/ctype.h:256: error: expected declaration specifiers or '...' before '__locale_t'
/usr/include/ctype.h:256: error: storage class specified for parameter 'isupper_l'
/usr/include/ctype.h:257: error: expected declaration specifiers or '...' before '__locale_t'
/usr/include/ctype.h:257: error: storage class specified for parameter 'isxdigit_l'
/usr/include/ctype.h:259: error: expected declaration specifiers or '...' before '__locale_t'
/usr/include/ctype.h:259: error: storage class specified for parameter 'isblank_l'
/usr/include/ctype.h:263: error: expected declaration specifiers or '...' before '__locale_t'
/usr/include/ctype.h:263: error: storage class specified for parameter '__tolower_l'
/usr/include/ctype.h:264: error: expected declaration specifiers or '...' before '__locale_t'
/usr/include/ctype.h:264: error: storage class specified for parameter 'tolower_l'
/usr/include/ctype.h:267: error: expected declaration specifiers or '...' before '__locale_t'
/usr/include/ctype.h:267: error: storage class specified for parameter '__toupper_l'
/usr/include/ctype.h:268: error: expected declaration specifiers or '...' before '__locale_t'
/usr/include/ctype.h:268: error: storage class specified for parameter 'toupper_l'
src/lib/dict.c:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
src/lib/dict.c:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
src/lib/dict.c:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
src/lib/dict.c:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
src/lib/dict.c:53: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
src/lib/dict.c:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
src/lib/dict.c:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
src/lib/dict.c:65: error: expected specifier-qualifier-list before 'time_t'
src/lib/dict.c:66: error: storage class specified for parameter 'dict_stat_t'
src/lib/dict.c:68: error: storage class specified for parameter 'stat_root_dir'
src/lib/dict.c:68: error: parameter 'stat_root_dir' is initialized
src/lib/dict.c:68: error: 'NULL' undeclared (first use in this function)
src/lib/dict.c:68: error: (Each undeclared identifier is reported only once
src/lib/dict.c:68: error: for each function it appears in.)
src/lib/dict.c:69: error: storage class specified for parameter 'stat_root_file'
src/lib/dict.c:69: error: parameter 'stat_root_file' is initialized
src/lib/dict.c:71: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
src/lib/dict.c:72: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
src/lib/dict.c:76: error: expected specifier-qualifier-list before 'DICT_VALUE'
src/lib/dict.c:78: error: storage class specified for parameter 'value_fixup_t'
src/lib/dict.c:84: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
src/lib/dict.c:86: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dict_attr_types'
src/lib/dict.c:112: error: expected declaration specifiers before ';' token
src/lib/dict.c:127: error: parameter 'fr_attr_max_tlv' is initialized
src/lib/dict.c:128: error: parameter 'fr_attr_shift' is initialized
src/lib/dict.c:129: warning: excess elements in scalar initializer
src/lib/dict.c:129: warning: (near initialization for 'fr_attr_shift')
src/lib/dict.c:129: warning: excess elements in scalar initializer
src/lib/dict.c:129: warning: (near initialization for 'fr_attr_shift')
src/lib/dict.c:129: warning: excess elements in scalar initializer
src/lib/dict.c:129: warning: (near initialization for 'fr_attr_shift')
src/lib/dict.c:130: warning: excess elements in scalar initializer
src/lib/dict.c:130: warning: (near initialization for 'fr_attr_shift')
src/lib/dict.c:132: error: parameter 'fr_attr_mask' is initialized
src/lib/dict.c:133: warning: initialization makes pointer from integer without a cast
src/lib/dict.c:133: warning: excess elements in scalar initializer
src/lib/dict.c:133: warning: (near initialization for 'fr_attr_mask')
src/lib/dict.c:133: warning: excess elements in scalar initializer
src/lib/dict.c:133: warning: (near initialization for 'fr_attr_mask')
src/lib/dict.c:133: warning: excess elements in scalar initializer
src/lib/dict.c:133: warning: (near initialization for 'fr_attr_mask')
src/lib/dict.c:134: warning: excess elements in scalar initializer
src/lib/dict.c:134: warning: (near initialization for 'fr_attr_mask')
src/lib/dict.c:145: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dict_hashname'
src/lib/dict.c:165: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dict_attr_name_hash'
src/lib/dict.c:171: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
src/lib/dict.c:178: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dict_attr_value_hash'
src/lib/dict.c:188: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
src/lib/dict.c:198: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dict_vendor_name_hash'
src/lib/dict.c:204: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
src/lib/dict.c:211: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dict_vendor_value_hash'
src/lib/dict.c:218: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
src/lib/dict.c:225: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dict_value_name_hash'
src/lib/dict.c:236: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
src/lib/dict.c:250: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dict_value_value_hash'
src/lib/dict.c:261: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
src/lib/dict.c:280: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
src/lib/dict.c:306: warning: 'struct stat' declared inside parameter list
src/lib/dict.c:306: warning: its scope is only this definition or declaration, which is probably not what you want
src/lib/dict.c:307: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
src/lib/dict.c:331: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
src/lib/dict.c:357: error: storage class specified for parameter 'fr_pool_t'
src/lib/dict.c:362: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
src/lib/dict.c:364: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
src/lib/dict.c:379: error: expected ')' before '*' token
src/lib/dict.c:394: error: expected ')' before 'size'
src/lib/dict.c:424: error: expected ')' before 'void'
src/lib/dict.c:435: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
src/lib/dict.c:466: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
src/lib/dict.c:531: error: expected declaration specifiers or '...' before 'ATTR_FLAGS'
src/lib/dict.c:532: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
src/lib/dict.c:792: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
src/lib/dict.c:943: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
src/lib/dict.c:975: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
src/lib/dict.c:1029: error: expected declaration specifiers or '...' before 'DICT_ATTR'
src/lib/dict.c:1031: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
src/lib/dict.c:1464: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
src/lib/dict.c:1509: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
src/lib/dict.c:1589: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
src/lib/dict.c:1712: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
src/lib/dict.c:1753: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
src/lib/dict.c:2086: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
src/lib/dict.c:2099: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
src/lib/dict.c:2249: error: expected declaration specifiers before 'DICT_ATTR'
src/lib/dict.c:2264: error: expected declaration specifiers before 'DICT_ATTR'
src/lib/dict.c:2280: error: expected declaration specifiers before 'DICT_VALUE'
src/lib/dict.c:2307: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
src/lib/dict.c:2319: error: expected declaration specifiers before 'DICT_VALUE'
src/lib/dict.c:2349: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
src/lib/dict.c:2367: error: expected declaration specifiers before 'DICT_VENDOR'
src/lib/dict.c:357: error: declaration for parameter 'fr_pool_t' but no such parameter
src/lib/dict.c:132: error: declaration for parameter 'fr_attr_mask' but no such parameter
src/lib/dict.c:128: error: declaration for parameter 'fr_attr_shift' but no such parameter
src/lib/dict.c:127: error: declaration for parameter 'fr_attr_max_tlv' but no such parameter
src/lib/dict.c:78: error: declaration for parameter 'value_fixup_t' but no such parameter
src/lib/dict.c:69: error: declaration for parameter 'stat_root_file' but no such parameter
src/lib/dict.c:68: error: declaration for parameter 'stat_root_dir' but no such parameter
src/lib/dict.c:66: error: declaration for parameter 'dict_stat_t' but no such parameter
/usr/include/ctype.h:268: error: declaration for parameter 'toupper_l' but no such parameter
/usr/include/ctype.h:267: error: declaration for parameter '__toupper_l' but no such parameter
/usr/include/ctype.h:264: error: declaration for parameter 'tolower_l' but no such parameter
/usr/include/ctype.h:263: error: declaration for parameter '__tolower_l' but no such parameter
/usr/include/ctype.h:259: error: declaration for parameter 'isblank_l' but no such parameter
/usr/include/ctype.h:257: error: declaration for parameter 'isxdigit_l' but no such parameter
/usr/include/ctype.h:256: error: declaration for parameter 'isupper_l' but no such parameter
/usr/include/ctype.h:255: error: declaration for parameter 'isspace_l' but no such parameter
/usr/include/ctype.h:254: error: declaration for parameter 'ispunct_l' but no such parameter
/usr/include/ctype.h:253: error: declaration for parameter 'isprint_l' but no such parameter
/usr/include/ctype.h:252: error: declaration for parameter 'isgraph_l' but no such parameter
/usr/include/ctype.h:251: error: declaration for parameter 'islower_l' but no such parameter
/usr/include/ctype.h:250: error: declaration for parameter 'isdigit_l' but no such parameter
/usr/include/ctype.h:249: error: declaration for parameter 'iscntrl_l' but no such parameter
/usr/include/ctype.h:248: error: declaration for parameter 'isalpha_l' but no such parameter
/usr/include/ctype.h:247: error: declaration for parameter 'isalnum_l' but no such parameter
/usr/include/xlocale.h:40: error: declaration for parameter '__locale_t' but no such parameter
/usr/include/ctype.h:151: error: declaration for parameter '_tolower' but no such parameter
/usr/include/ctype.h:150: error: declaration for parameter '_toupper' but no such parameter
/usr/include/ctype.h:146: error: declaration for parameter 'toascii' but no such parameter
/usr/include/ctype.h:142: error: declaration for parameter 'isascii' but no such parameter
/usr/include/ctype.h:135: error: declaration for parameter 'isctype' but no such parameter
/usr/include/ctype.h:128: error: declaration for parameter 'isblank' but no such parameter
/usr/include/ctype.h:119: error: declaration for parameter 'toupper' but no such parameter
/usr/include/ctype.h:116: error: declaration for parameter 'tolower' but no such parameter
/usr/include/ctype.h:112: error: declaration for parameter 'isxdigit' but no such parameter
/usr/include/ctype.h:111: error: declaration for parameter 'isupper' but no such parameter
/usr/include/ctype.h:110: error: declaration for parameter 'isspace' but no such parameter
/usr/include/ctype.h:109: error: declaration for parameter 'ispunct' but no such parameter
/usr/include/ctype.h:108: error: declaration for parameter 'isprint' but no such parameter
/usr/include/ctype.h:107: error: declaration for parameter 'isgraph' but no such parameter
/usr/include/ctype.h:106: error: declaration for parameter 'islower' but no such parameter
/usr/include/ctype.h:105: error: declaration for parameter 'isdigit' but no such parameter
/usr/include/ctype.h:104: error: declaration for parameter 'iscntrl' but no such parameter
/usr/include/ctype.h:103: error: declaration for parameter 'isalpha' but no such parameter
/usr/include/ctype.h:102: error: declaration for parameter 'isalnum' but no such parameter
/usr/include/ctype.h:81: error: declaration for parameter '__ctype_b_loc' but no such parameter
/usr/include/bits/types.h:186: error: declaration for parameter '__caddr_t' but no such parameter
/usr/include/bits/types.h:42: error: declaration for parameter '__uint32_t' but no such parameter
/usr/include/bits/types.h:41: error: declaration for parameter '__int32_t' but no such parameter
/usr/include/bits/types.h:40: error: declaration for parameter '__uint16_t' but no such parameter
/usr/include/bits/types.h:39: error: declaration for parameter '__int16_t' but no such parameter
/usr/include/bits/types.h:38: error: declaration for parameter '__uint8_t' but no such parameter
/usr/include/bits/types.h:37: error: declaration for parameter '__int8_t' but no such parameter
/usr/include/bits/types.h:34: error: declaration for parameter '__u_long' but no such parameter
/usr/include/bits/types.h:33: error: declaration for parameter '__u_int' but no such parameter
/usr/include/bits/types.h:32: error: declaration for parameter '__u_short' but no such parameter
/usr/include/bits/types.h:31: error: declaration for parameter '__u_char' but no such parameter
src/lib/dict.c:2374: error: expected '{' at end of input
src/lib/dict.c:357: warning: unused parameter 'fr_pool_t'
src/lib/dict.c:132: warning: unused parameter 'fr_attr_mask'
src/lib/dict.c:128: warning: unused parameter 'fr_attr_shift'
src/lib/dict.c:127: warning: unused parameter 'fr_attr_max_tlv'
src/lib/dict.c:78: warning: unused parameter 'value_fixup_t'
src/lib/dict.c:69: warning: unused parameter 'stat_root_file'
src/lib/dict.c:68: warning: unused parameter 'stat_root_dir'
src/lib/dict.c:66: warning: unused parameter 'dict_stat_t'
/usr/include/ctype.h:268: warning: unused parameter 'toupper_l'
/usr/include/ctype.h:267: warning: unused parameter '__toupper_l'
/usr/include/ctype.h:264: warning: unused parameter 'tolower_l'
/usr/include/ctype.h:263: warning: unused parameter '__tolower_l'
/usr/include/ctype.h:259: warning: unused parameter 'isblank_l'
/usr/include/ctype.h:257: warning: unused parameter 'isxdigit_l'
/usr/include/ctype.h:256: warning: unused parameter 'isupper_l'
/usr/include/ctype.h:255: warning: unused parameter 'isspace_l'
/usr/include/ctype.h:254: warning: unused parameter 'ispunct_l'
/usr/include/ctype.h:253: warning: unused parameter 'isprint_l'
/usr/include/ctype.h:252: warning: unused parameter 'isgraph_l'
/usr/include/ctype.h:251: warning: unused parameter 'islower_l'
/usr/include/ctype.h:250: warning: unused parameter 'isdigit_l'
/usr/include/ctype.h:249: warning: unused parameter 'iscntrl_l'
/usr/include/ctype.h:248: warning: unused parameter 'isalpha_l'
/usr/include/ctype.h:247: warning: unused parameter 'isalnum_l'
/usr/include/xlocale.h:40: warning: unused parameter '__locale_t'
/usr/include/ctype.h:151: warning: unused parameter '_tolower'
/usr/include/ctype.h:150: warning: unused parameter '_toupper'
/usr/include/ctype.h:146: warning: unused parameter 'toascii'
/usr/include/ctype.h:142: warning: unused parameter 'isascii'
/usr/include/ctype.h:135: warning: unused parameter 'isctype'
/usr/include/ctype.h:128: warning: unused parameter 'isblank'
/usr/include/ctype.h:119: warning: unused parameter 'toupper'
/usr/include/ctype.h:116: warning: unused parameter 'tolower'
/usr/include/ctype.h:112: warning: unused parameter 'isxdigit'
/usr/include/ctype.h:111: warning: unused parameter 'isupper'
/usr/include/ctype.h:110: warning: unused parameter 'isspace'
/usr/include/ctype.h:109: warning: unused parameter 'ispunct'
/usr/include/ctype.h:108: warning: unused parameter 'isprint'
/usr/include/ctype.h:107: warning: unused parameter 'isgraph'
/usr/include/ctype.h:106: warning: unused parameter 'islower'
/usr/include/ctype.h:105: warning: unused parameter 'isdigit'
/usr/include/ctype.h:104: warning: unused parameter 'iscntrl'
/usr/include/ctype.h:103: warning: unused parameter 'isalpha'
/usr/include/ctype.h:102: warning: unused parameter 'isalnum'
/usr/include/ctype.h:81: warning: unused parameter '__ctype_b_loc'
/usr/include/bits/types.h:186: warning: unused parameter '__caddr_t'
/usr/include/bits/types.h:42: warning: unused parameter '__uint32_t'
/usr/include/bits/types.h:41: warning: unused parameter '__int32_t'
/usr/include/bits/types.h:40: warning: unused parameter '__uint16_t'
/usr/include/bits/types.h:39: warning: unused parameter '__int16_t'
/usr/include/bits/types.h:38: warning: unused parameter '__uint8_t'
/usr/include/bits/types.h:37: warning: unused parameter '__int8_t'
/usr/include/bits/types.h:34: warning: unused parameter '__u_long'
/usr/include/bits/types.h:33: warning: unused parameter '__u_int'
/usr/include/bits/types.h:32: warning: unused parameter '__u_short'
/usr/include/bits/types.h:31: warning: unused parameter '__u_char'
make: *** [build/objs/src/lib/dict.lo] Error 1
$



$ ls -laR build
build:
total 16
drwxr-xr-x  4 mcn4 mcn4 4096 Jan 24 10:36 .
drwxr-xr-x 17 mcn4 mcn4 4096 Jan 24 10:36 ..
drwxr-xr-x  3 mcn4 mcn4 4096 Jan 24 10:39 make
drwxr-xr-x  3 mcn4 mcn4 4096 Jan 24 10:36 objs

build/make:
total 40
drwxr-xr-x 3 mcn4 mcn4  4096 Jan 24 10:39 .
drwxr-xr-x 4 mcn4 mcn4  4096 Jan 24 10:36 ..
drwxr-xr-x 2 mcn4 mcn4  4096 Jan 24 10:36 include
-rwxr-xr-x 1 mcn4 mcn4 24854 Jan 24 10:39 jlibtool

build/make/include:
total 8
drwxr-xr-x 2 mcn4 mcn4 4096 Jan 24 10:36 .
drwxr-xr-x 3 mcn4 mcn4 4096 Jan 24 10:39 ..
lrwxrwxrwx 1 mcn4 mcn4   40 Jan 24 10:36 freeradius-devel -> /home/matthew/freeradius-server/src/include

build/objs:
total 12
drwxr-xr-x 3 mcn4 mcn4 4096 Jan 24 10:36 .
drwxr-xr-x 4 mcn4 mcn4 4096 Jan 24 10:36 ..
drwxr-xr-x 3 mcn4 mcn4 4096 Jan 24 10:36 src

build/objs/src:
total 12
drwxr-xr-x 3 mcn4 mcn4 4096 Jan 24 10:36 .
drwxr-xr-x 3 mcn4 mcn4 4096 Jan 24 10:36 ..
drwxr-xr-x 2 mcn4 mcn4 4096 Jan 24 10:36 lib

build/objs/src/lib:
total 8
drwxr-xr-x 2 mcn4 mcn4 4096 Jan 24 10:36 .
drwxr-xr-x 3 mcn4 mcn4 4096 Jan 24 10:36 ..
-rw-r--r-- 1 mcn4 mcn4    0 Jan 24 10:37 dict.d
$ 


Thanks,

Matthew


-- 
Matthew Newton, Ph.D. <mcn4 at le.ac.uk>

Systems Architect (UNIX and Networks), Network Services,
I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom

For IT help contact helpdesk extn. 2253, <ithelp at le.ac.uk>



More information about the Freeradius-Devel mailing list