[Home]

Summary:ASTERISK-19126: Cannot install asterisk on mac os lion
Reporter:Ravindran (eternalravi)Labels:
Date Opened:2011-12-27 10:04:03.000-0600Date Closed:2011-12-27 15:26:46.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:. I did not set the category correctly.
Versions:10.0.0 Frequency of
Occurrence
Frequent
Related
Issues:
duplicatesASTERISK-18950 weak (linker) attribute handling for MAC/OS in optional_api.h breaks x86 executable (seg fault)
Environment:Attachments:
Description:was successful thank you

use this
http://forums.asterisk.org/viewtopic.php?p=166405
Comments:By: Paul Belanger (pabelanger) 2011-12-27 15:26:46.471-0600

This was recently fixed. Please try again with branches/10

By: Ravindran (eternalravi) 2011-12-27 17:23:22.895-0600

Hello, I am not sure how the duplicate issue was resolved....

but i still get an error after adding weak_import 1 and weak_1

and i get this error .......

CKs-MacBook-Pro:asterisk-10.0.0 RavindranKrishnaMudaliar$ make
CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" makeopts
make[1]: `makeopts' is up to date.
  [CC] chan_bridge.c -> chan_bridge.o
  [LD] chan_bridge.o -> chan_bridge.so
ld: duplicate symbol dyld_stub_binding_helper in /usr/lib/bundle1.o and /usr/lib/bundle1.o for architecture x86_64
collect2: ld returned 1 exit status
make[1]: *** [chan_bridge.so] Error 1
make: *** [channels] Error 2

I added this in CONFIG_LDFLAGS=
CONFIG_CFLAGS=
CONFIG_LDFLAGS=/usr/lib/bundle1.o

but still i got the same error....what should i do