#22933: Squid helper ncsa_auth fails to build ------------------------------+--------------------------------------------- Reporter: corv89@… | Owner: jmr@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: squid ------------------------------+--------------------------------------------- Changes (by jmr@…): * keywords: squid ncsa_auth => * owner: macports-tickets@… => jmr@… * status: new => assigned * port: squid @2.7.STABLE7_0 => squid Old 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
New 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 }}} -- Comment: You're building it manually? How is that an issue with MacPorts? -- Ticket URL: <http://trac.macports.org/ticket/22933#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS