Opened 15 years ago

Closed 14 years ago

#21566 closed defect (worksforme)

nspr issue in prlink.c with symClass undeclared

Reported by: pcrowell@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: nss Cc: pcrowell@…
Port: nspr

Description (last modified by blb@…)

 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

Change History (3)

comment:1 Changed 15 years ago by blb@…

Description: modified (diff)
Keywords: nspr removed
Milestone: MacPorts 1.8.1
Owner: changed from macports-tickets@… to jeremyhu@…
Port: @4.8 (devel) removed

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

comment:2 Changed 15 years ago by pcrowell@…

Intel only mac book pro, xcode 3.1.4 on mac os x 10.5.8.

===More info===

System Version: Mac OS X 10.5.8 (9L30) Kernel Version: Darwin 9.8.0

Model Name: MacBook Pro

Model Identifier: MacBookPro5,1 Processor Name: Intel Core 2 Duo Processor Speed: 2.66 GHz Number Of Processors: 1 Total Number Of Cores: 2 L2 Cache: 6 MB Memory: 4 GB Bus Speed: 1.07 GHz Boot ROM Version: MBP51.007E.B00 SMC Version (system): 1.41f2

% uname -a Darwin cetus.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386

Mac OS X 10.5.8 Xcode 3.1.4

comment:3 Changed 14 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: worksforme
Status: newclosed

I can't reproduce this. Please try with newer versions of the port.

Note: See TracTickets for help on using tickets.