atefsaeed2010 / asterisk-chan-dongle-01

Automatically exported from code.google.com/p/asterisk-chan-dongle
Other
0 stars 1 forks source link

chan-dongle cannot be compiled on FreebSD with clang #165

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. FreeBSD 10 release with asterisk 11
2.
3.

What is the expected output? What do you see instead?
Expected output is to not see any errors

What version of the product are you using? On what operating system?
10.0-RELEASE FreeBSD

Please provide any additional information below.
root@bohus:/usr/local/src/asterisk-chan-dongle-asterisk11 # gmake
cc -g -O2 -O6 -I.  -D_GNU_SOURCE -I/usr/local/include -I/usr/include 
-DASTERISK_VERSION_NUM=110000 -DHAVE_CONFIG_H  -fvisibility=hidden -fPIC -Wall 
-Wextra -MD -MT app.o -MF .app.o.d -MP  -o app.o -c app.c
error: invalid value '6' in '-O6'
gmake: *** [app.o] Error 1

Original issue reported on code.google.com by z...@zeon.kiev.ua on 2 Feb 2014 at 12:51

GoogleCodeExporter commented 9 years ago
I have the same problem

Original comment by avto...@gmail.com on 8 Apr 2014 at 5:23

GoogleCodeExporter commented 9 years ago
set custom CFLAGS when configure, its simple 
INSTALL file contain valid instrustions

Original comment by bg_...@mail.ru on 29 Apr 2014 at 7:55

GoogleCodeExporter commented 9 years ago
Dear Project manager, can you do me a favor and send more info than just send 
me to read INSTALL file. The issue wasn't fixed without any clear reason.
Thank you.

Original comment by z...@zeon.kiev.ua on 6 May 2014 at 3:19

GoogleCodeExporter commented 9 years ago
Project manager mean that you must follow with precise instructions in INSTALL.
For me was helpful to download  asterisk-1.6.2.13.tar.gz source code, extract 
it to /tmp/asterisk-1.6.2.13 and use:
CFLAGS="-I /tmp/asterisk-1.6.2.13/include" ./configure

Original comment by alls...@gmail.com on 13 Jun 2014 at 11:36