Ticket #3606 (new defect)

Opened 3 months ago

Last modified 3 months ago

Space after -L on OS X

Reported by: kl Assigned to: anonymous
Priority: normal Milestone:
Component: Build System Version: trunk
Severity: crash Keywords:
Cc:

Description

Build on Intel Mac OS X fails with:

Undefined symbols:
  "__mh_dylib_header"

I've found related changeset [117] - it does remove space after -L, but does that only for PPC_MACOSX. It should do that for Intel too.

Change History

08/07/08 19:27:19 changed by aaaaaaaaa

Oops. Sorry - I've confused PCC with PPC :)

So the reason for failure is likely different. Here's more complete log:

ake[2]: [clean-bin] Error 1 (ignored)
bigloo -unsafe   -L ../libs -I ../libs  -o pcc_u commandline_u.o -library php-runtime -library profiler -library webconnect -library phpeval 

*** WARNING:bigloo:link
No Bigloo module found for -- commandline_u.o

*** WARNING:bigloo:link
No source file found -- (commandline_u.o)
ld warning: option -s is obsolete and being ignored
Undefined symbols:
  "__mh_dylib_header", referenced from:
      dyld__mach_header in libphp-runtime_u-3.1a.dylib
      dyld__mach_header in libprofiler_u-3.1a.dylib
      dyld__mach_header in libwebconnect_u-3.1a.dylib
      dyld__mach_header in libphpeval_u-3.1a.dylib
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [pcc_u] Error 1
make[1]: *** [compiler] Error 2
make: *** [unsafe] Error 2