[MacPorts] #21566: nspr issue in prlink.c with symClass undeclared

MacPorts noreply at macports.org
Wed Sep 23 00:48:04 PDT 2009


#21566: nspr issue in prlink.c with symClass undeclared
---------------------------------+------------------------------------------
 Reporter:  pcrowell@…           |       Owner:  macports-tickets@…                   
     Type:  defect               |      Status:  new                                  
 Priority:  Normal               |   Milestone:  MacPorts 1.8.1                       
Component:  ports                |     Version:  1.8.0                                
 Keywords:  nspr nss             |        Port:  nspr @4.8 (devel)                    
---------------------------------+------------------------------------------
 sudo port install -d nss
 --->  Computing dependencies for nspr
 --->  Building nspr
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_nspr/work/nspr-4.8/mozilla/nsprpub"
 && /usr/bin/make -j1 all " returned error 2
 Command output: prlink.c:1156: error: 'symClass' undeclared (first use in
 this function)
 prlink.c:1156: error: 'noErr' undeclared (first use in this function)
 prlink.c:1165: error: dereferencing pointer to incomplete type
 prlink.c:1167: error: dereferencing pointer to incomplete type
 prlink.c:1169: warning: 'NSLookupSymbolInImage' is deprecated (declared at
 /usr/include/mach-o/dyld.h:182)
 prlink.c:1169: error: dereferencing pointer to incomplete type
 prlink.c:1173: warning: 'NSAddressOfSymbol' is deprecated (declared at
 /usr/include/mach-o/dyld.h:188)
 prlink.c:1195: error: dereferencing pointer to incomplete type
 prlink.c:1197: warning: 'NSLookupSymbolInModule' is deprecated (declared
 at /usr/include/mach-o/dyld.h:181)
 prlink.c:1197: error: dereferencing pointer to incomplete type
 prlink.c:1199: warning: 'NSAddressOfSymbol' is deprecated (declared at
 /usr/include/mach-o/dyld.h:188)
 prlink.c: In function 'PR_FindSymbolAndLibrary':
 prlink.c:1295: error: dereferencing pointer to incomplete type
 prlink.c:1299: error: dereferencing pointer to incomplete type
 prlink.c:1300: error: dereferencing pointer to incomplete type
 prlink.c:1300: error: dereferencing pointer to incomplete type
 prlink.c: In function 'PR_LoadStaticLibrary':
 prlink.c:1339: error: dereferencing pointer to incomplete type
 prlink.c:1344: error: invalid application of 'sizeof' to incomplete type
 'PRLibrary'
 prlink.c:1347: error: dereferencing pointer to incomplete type
 prlink.c:1348: error: dereferencing pointer to incomplete type
 prlink.c:1349: error: dereferencing pointer to incomplete type
 prlink.c:1349: error: dereferencing pointer to incomplete type
 prlink.c:1350: error: dereferencing pointer to incomplete type
 prlink.c:1351: error: dereferencing pointer to incomplete type
 prlink.c:1356: error: dereferencing pointer to incomplete type
 make[3]: *** [prlink.o] Error 1
 make[2]: *** [export] Error 2
 make[1]: *** [export] Error 2
 make: *** [export] Error 2

 Error: Unable to upgrade port: 1
 Error: Unable to execute port: upgrade nspr failed

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


More information about the macports-tickets mailing list