[MacPorts] #13947: plib 1.8.4 doesn't build in Leopard
#13947: plib 1.8.4 doesn't build in Leopard --------------------------------------+------------------------------------- Reporter: rzilibowitz@yahoo.com.au | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | --------------------------------------+------------------------------------- {{{ 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_plib/work/plib-1.8.4" && make all " returned error 2 Command output: ssgLoadFLT.cxx: In function 'int GeomChunks(ubyte*, ubyte*, fltState*, ssgEntity**, int, int)': ssgLoadFLT.cxx:1192: error: 'get16u' was not declared in this scope ssgLoadFLT.cxx:1270: error: 'get32u' was not declared in this scope ssgLoadFLT.cxx:1459: error: 'get32u' was not declared in this scope ssgLoadFLT.cxx: In function 'ssgEntity* PostClean(ssgEntity*, fltNodeAttr*)': ssgLoadFLT.cxx:1842: error: 'struct fltNodeAttr' has no member named 'mask_words' ssgLoadFLT.cxx: In function 'int AttrChunks(ubyte*, ubyte*, fltNodeAttr**)': ssgLoadFLT.cxx:1937: error: 'get16u' was not declared in this scope ssgLoadFLT.cxx: In function 'ssgEntity* HierChunks(ubyte*, ubyte*, fltState*)': ssgLoadFLT.cxx:2063: error: 'get16u' was not declared in this scope ssgLoadFLT.cxx:2134: error: 'get32u' was not declared in this scope ssgLoadFLT.cxx:2202: error: 'get32u' was not declared in this scope ssgLoadFLT.cxx:2212: error: 'struct fltNodeAttr' has no member named 'mask_words' ssgLoadFLT.cxx:2212: error: expected type-specifier before 'uint' ssgLoadFLT.cxx:2212: error: expected `;' before 'uint' ssgLoadFLT.cxx:2213: error: 'struct fltNodeAttr' has no member named 'mask_words' ssgLoadFLT.cxx: In function 'int VertexTable(ubyte*, ubyte*, fltState*)': ssgLoadFLT.cxx:2334: error: 'get16u' was not declared in this scope ssgLoadFLT.cxx:2337: error: 'get32u' was not declared in this scope ssgLoadFLT.cxx: In function 'int TableChunks(ubyte*, ubyte*, fltState*)': ssgLoadFLT.cxx:2435: error: 'get16u' was not declared in this scope ssgLoadFLT.cxx:2480: error: 'get32u' was not declared in this scope ssgLoadFLT.cxx:2543: error: 'get32u' was not declared in this scope ssgLoadFLT.cxx: In function 'int CheckHeader(ubyte*, ubyte*, fltState*)': ssgLoadFLT.cxx:2604: error: 'get16u' was not declared in this scope ssgLoadFLT.cxx:2608: error: 'get16u' was not declared in this scope ssgLoadFLT.cxx:2613: error: 'get32u' was not declared in this scope make[2]: *** [ssgLoadFLT.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13947> MacPorts </projects/macports> Ports system for Mac OS
#13947: plib 1.8.4 doesn't build in Leopard ---------------------------------------+------------------------------------ Reporter: rzilibowitz@yahoo.com.au | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------------+------------------------------------ Changes (by jmpp@macports.org): * milestone: => Port Bugs -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13947#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#13947: plib 1.8.4 doesn't build in Leopard ---------------------------------------+------------------------------------ Reporter: rzilibowitz@yahoo.com.au | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------------+------------------------------------ Comment (by frederic.devernay@m4x.org): adding #include <sys/types.h> at the top of src/ssg/ssgLoadFLT.cxx fixes this (sorry, didn't have time to make the corresponding patch file). quick fix: after building fails, do: sudo open -a textedit \ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_plib/work/plib-1.8.4/src/ssg/ssgLoadFLT.cxx add the following line at the top of the file: #include <sys/types.h> save it re-install the port, building should be fine: sudo port upgrade plib -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13947#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#13947: plib 1.8.4 doesn't build in Leopard ---------------------------------------+------------------------------------ Reporter: rzilibowitz@yahoo.com.au | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: duplicate | Keywords: ---------------------------------------+------------------------------------ Changes (by jmr@macports.org): * status: new => closed * resolution: => duplicate Comment: Duplicate of #13625. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13947#comment:3> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts