[MacPorts] #22933: Squid helper ncsa_auth fails to build

MacPorts noreply at macports.org
Thu Dec 17 17:12:45 PST 2009


#22933: Squid helper ncsa_auth fails to build
------------------------------+---------------------------------------------
 Reporter:  corv89@…          |       Owner:  macports-tickets@…                   
     Type:  defect            |      Status:  new                                  
 Priority:  Normal            |   Milestone:                                       
Component:  ports             |     Version:  1.8.1                                
 Keywords:  squid ncsa_auth   |        Port:  squid @2.7.STABLE7_0                 
------------------------------+---------------------------------------------

Comment(by corv89@…):

 Excuse the formatting above.

 Second try:

 {{{
 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
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/22933#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list