[MacPorts] #14433: ossp-uuid 1.6.0_0+universal - build failure
MacPorts
trac at macosforge.org
Thu Feb 21 22:28:09 PST 2008
#14433: ossp-uuid 1.6.0_0+universal - build failure
------------------------------+---------------------------------------------
Reporter: jebler at gmail.com | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.6.0
Keywords: |
------------------------------+---------------------------------------------
Building fails with "Undefined symbols for architecture i386:" errors. The
problem occurs at the very end of the {{{make all}}} phase.
Here is the problematic command:
{{{
/usr/bin/gcc-4.0 -dynamiclib ${wl}-flat_namespace ${wl}-undefined
${wl}suppress -o .libs/libuuid.16.0.20.dylib .libs/uuid.o
.libs/uuid_md5.o .libs/uuid_sha1.o .libs/uuid_prng.o .libs/uuid_mac.o
.libs/uuid_ui64.o .libs/uuid_ui128.o .libs/uuid_str.o -install_name
/opt/local/lib/libuuid.16.dylib -Wl,-compatibility_version -Wl,17
-Wl,-current_version -Wl,17.20
}}}
The error comes a few lines later.
I manually added {{{-arch i386 -arch ppc}}} after {{{-dynamiclib}}} and
manually ran the command, and everything worked just fine.
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14433>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list