Ticket 153: compilation error on MacOS X 10.4.8
The compilation of the php binding fails due to an unrecognized linker flag:
gcc ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/uuid.so -bundle .libs/uuid.o -L/opt/local/src/uuid-1.5.1/php/.. /opt/local/src/uuid-1.5.1/php/../.libs/libuuid.dylib -Wl,-Bsymbolic
/usr/bin/ld: unknown flag: -Bsymbolic
collect2: ld returned 1 exit status
make: *** [uuid.la] Error 1
As the gnu ldd manpage states "This option is only meaningful on ELF platforms which support shared libraries." and Mac OS X is not an ELF platform, I manually edited the flag from the makefile and the compilation finished without problems.
Remarks:
Thanks for the hint. This should be now fixed in OSSP uuid 1.6.0 once
it is released.
Properties:
Type: |
code |
|
Version: |
1.5.1 |
Status: |
closed |
|
Created: |
2007-Mar-09 16:20 |
Severity: |
4 |
|
Last Change: |
2007-May-19 21:32 |
Priority: |
3 |
|
Subsystem: |
uuid |
Assigned To: |
|
|
Derived From: |
|
Creator: |
anonymous |