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

MacPorts noreply at macports.org
Wed Sep 23 01:27:04 PDT 2009


#21566: nspr issue in prlink.c with symClass undeclared
---------------------------------+------------------------------------------
 Reporter:  pcrowell@…           |       Owner:  jeremyhu@…           
     Type:  defect               |      Status:  new                  
 Priority:  Normal               |   Milestone:                       
Component:  ports                |     Version:  1.8.0                
 Keywords:  nss                  |        Port:  nspr                 
---------------------------------+------------------------------------------
Changes (by blb@…):

  * keywords:  nspr nss => nss
  * owner:  macports-tickets@… => jeremyhu@…
  * port:  nspr @4.8 (devel) => nspr
  * milestone:  MacPorts 1.8.1 =>


Old description:

> 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

New description:

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

--

Comment:

 What's your system information (OS and Xcode version, Intel or PowerPC)?

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


More information about the macports-tickets mailing list