Opened 14 years ago

Last modified 14 years ago

#22933 closed enhancement

Squid helper ncsa_auth fails to build — at Initial Version

Reported by: corv89@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: squid

Description

Squid 2.7 authentication helper ncsa_auth fails to build in "helpers/basic_auth/NCSA/ncsa_auth"

###log###

make ncsa_auth cc ncsa_auth.c -o ncsa_auth ncsa_auth.c:20:20: error: config.h: No such file or directory ncsa_auth.c:44:18: error: hash.h: No such file or directory ncsa_auth.c:47: error: expected '=', ',', ';', 'asm' or 'attribute' before '*' token ncsa_auth.c:48: error: expected '=', ',', ';', 'asm' or 'attribute' before 'my_free' ncsa_auth.c: In function 'read_passwd_file': ncsa_auth.c:74: error: 'hash' undeclared (first use in this function) ncsa_auth.c:74: error: (Each undeclared identifier is reported only once ncsa_auth.c:74: error: for each function it appears in.) ncsa_auth.c:79: error: 'HASHCMP' undeclared (first use in this function) ncsa_auth.c:79: error: expected expression before ')' token ncsa_auth.c:82: warning: incompatible implicit declaration of built-in function 'exit' ncsa_auth.c:86: warning: format '%s' expects type 'char *', but argument 4 has type 'int' ncsa_auth.c:87: warning: incompatible implicit declaration of built-in function 'exit' ncsa_auth.c:93: warning: assignment makes pointer from integer without a cast ncsa_auth.c:94: warning: assignment makes pointer from integer without a cast ncsa_auth.c:95: warning: incompatible implicit declaration of built-in function 'strlen' ncsa_auth.c:96: warning: assignment makes pointer from integer without a cast ncsa_auth.c:97: warning: assignment makes pointer from integer without a cast ncsa_auth.c:98: warning: assignment makes pointer from integer without a cast ncsa_auth.c:99: error: 'hash_link' undeclared (first use in this function) ncsa_auth.c:99: error: expected expression before ')' token ncsa_auth.c: In function 'main': ncsa_auth.c:108: error: storage size of 'sb' isn't known ncsa_auth.c:116: warning: incompatible implicit declaration of built-in function 'exit' ncsa_auth.c:120: warning: incompatible implicit declaration of built-in function 'exit' ncsa_auth.c:123: warning: incompatible implicit declaration of built-in function 'strchr' ncsa_auth.c:131: warning: assignment makes pointer from integer without a cast ncsa_auth.c:135: warning: assignment makes pointer from integer without a cast ncsa_auth.c:141: error: 'hash' undeclared (first use in this function) ncsa_auth.c:141: warning: cast to pointer from integer of different size ncsa_auth.c:160: warning: incompatible implicit declaration of built-in function 'exit' make: * [ncsa_auth] Error 1

Change History (0)

Note: See TracTickets for help on using tickets.