[MacPorts] #45570: gpsd: driver_rtcm2.c:125:2: error: #error Unknown endianness!

MacPorts noreply at macports.org
Sat Mar 7 06:35:05 PST 2015


#45570: gpsd: driver_rtcm2.c:125:2: error: #error Unknown endianness!
---------------------------+--------------------------------
  Reporter:  ryandesign@…  |      Owner:  macports-tickets@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.3.2
Resolution:                |   Keywords:  powerpc
      Port:  gpsd          |
---------------------------+--------------------------------

Comment (by braumann@…):

 Though {{{driver_rtcm2.c}}} states in a comment that in case of such
 trouble the inclusion of {{{endian.h}}} might be considered, as I found
 there is no {{{endian.h}}} I instead have used {{{gcc49}}} for building:

 {{{
 $ sudo port install gpsd configure.compiler=macports-gcc-4.9
 --->  Computing dependencies for gpsd
 --->  Fetching archive for gpsd
 --->  Attempting to fetch gpsd-3.11_0.darwin_9.ppc.tbz2 from
 http://nue.de.packages.macports.org/macports/packages/gpsd
 --->  Attempting to fetch gpsd-3.11_0.darwin_9.ppc.tbz2 from
 http://lil.fr.packages.macports.org/gpsd
 --->  Attempting to fetch gpsd-3.11_0.darwin_9.ppc.tbz2 from
 http://mse.uk.packages.macports.org/sites/packages.macports.org/gpsd
 --->  Fetching distfiles for gpsd
 --->  Verifying checksums for gpsd
 --->  Extracting gpsd
 --->  Applying patches to gpsd
 --->  Configuring gpsd
 --->  Building gpsd
 --->  Staging gpsd into destroot
 --->  Installing gpsd @3.11_0
 --->  Activating gpsd @3.11_0
 --->  Cleaning gpsd
 --->  Updating database of binaries
 --->  Scanning binaries for linking errors
 }}}

 Hope this will not give problems at runtime when linked with libraries
 having built with Xcode's {{{gcc42}}}.

-- 
Ticket URL: <https://trac.macports.org/ticket/45570#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list