[MacPorts] #16970: nspr 4.7 compile error

MacPorts noreply at macports.org
Wed Oct 22 23:41:14 PDT 2008


#16970: nspr 4.7 compile error
--------------------------------+-------------------------------------------
 Reporter:  sethladd at gmail.com  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:  Port Bugs                            
Component:  ports               |     Version:  1.6.0                                
 Keywords:                      |        Port:                                       
--------------------------------+-------------------------------------------
 Hello, trying to install couchdb, which requires nspr.  I am getting a
 build error when trying to compile nspr 4.7.

 Funny thing is, I just compiled this on my work macbook pro, also running
 10.5.5, and also via 'port install couchdb'

 Running Mac OS X 10.5.5

 {{{
 fuji:errorlytics sethladd$ uname -a
 Darwin Fuji.local 9.5.0 Darwin Kernel Version 9.5.0: Wed Sep  3 11:29:43
 PDT 2008; root:xnu-1228.7.58~1/RELEASE_I386 i386
 }}}

 {{{
 fuji:errorlytics sethladd$ port --version
 MacPorts 1.600
 }}}

 {{{
 fuji:errorlytics sethladd$ sudo port clean nspr
 --->  Cleaning nspr
 fuji:errorlytics sethladd$ sudo port install nspr
 --->  Fetching nspr
 --->  Verifying checksum(s) for nspr
 --->  Extracting nspr
 --->  Configuring nspr
 --->  Building nspr with target all
 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.7/mozilla/nsprpub
 && make" returned error 2
 Command output: prlink.c:1418: error: 'pName' undeclared (first use in
 this function)
 prlink.c:1420: warning: implicit declaration of function 'FindSymbol'
 prlink.c:1420: error: dereferencing pointer to incomplete type
 prlink.c:1420: error: 'symAddr' undeclared (first use in this function)
 prlink.c:1420: error: 'symClass' undeclared (first use in this function)
 prlink.c:1420: error: 'noErr' undeclared (first use in this function)
 prlink.c:1429: error: dereferencing pointer to incomplete type
 prlink.c:1431: error: dereferencing pointer to incomplete type
 prlink.c:1433: error: dereferencing pointer to incomplete type
 prlink.c:1459: error: dereferencing pointer to incomplete type
 prlink.c:1461: error: dereferencing pointer to incomplete type
 prlink.c: In function 'PR_FindSymbolAndLibrary':
 prlink.c:1559: error: dereferencing pointer to incomplete type
 prlink.c:1563: error: dereferencing pointer to incomplete type
 prlink.c:1564: error: dereferencing pointer to incomplete type
 prlink.c:1564: error: dereferencing pointer to incomplete type
 prlink.c: In function 'PR_LoadStaticLibrary':
 prlink.c:1603: error: dereferencing pointer to incomplete type
 prlink.c:1608: error: invalid application of 'sizeof' to incomplete type
 'PRLibrary'
 prlink.c:1611: error: dereferencing pointer to incomplete type
 prlink.c:1612: error: dereferencing pointer to incomplete type
 prlink.c:1613: error: dereferencing pointer to incomplete type
 prlink.c:1613: error: dereferencing pointer to incomplete type
 prlink.c:1614: error: dereferencing pointer to incomplete type
 prlink.c:1615: error: dereferencing pointer to incomplete type
 prlink.c:1620: 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: Status 1 encountered during processing.

 }}}

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


More information about the macports-tickets mailing list