Ticket #14433 (closed defect: fixed)
ossp-uuid 1.6.0_0+universal - build failure
| Reported by: | jebler@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.6.0 |
| Keywords: | Cc: | ||
| Port: |
Description
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.
Change History
Note: See
TracTickets for help on using
tickets.

