* compilaton error

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

* compilaton error

Postby DarnoQ » Wed Apr 08, 2009 11:42 am

Hello!
I'm trying to install vicidial on ubuntu (8.10) as advised, but I'm stuck on asterisk 1.2.30.2 instalation. When i try to make it i get an error " /usr/include/bits/fcntl2.h:51 eroor: call to "__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments make [1]: *** [chan_iax2.o] Error 1 . Can someone please help me with that issue?
DarnoQ
 
Posts: 32
Joined: Wed Mar 18, 2009 10:59 am

Postby yeshuawatso » Wed Apr 08, 2009 1:58 pm

This is along with asterisk see here

http://bugs.digium.com/view.php?id=11238
yeshuawatso
 
Posts: 22
Joined: Sat Apr 12, 2008 3:03 pm

Postby yeshuawatso » Wed Apr 08, 2009 2:18 pm

Found some more info:

Ubuntu's 8.10 gcc is compiled with fortify source. This means a whole
set of new errors will turn up when compiling software. For Openmoko
asu.stable it is best to put:

export BUILD_CPPFLAGS = "-isystem${STAGING_INCDIR_NATIVE} -
D_FORTIFY_SOURCE=0"


Source: http://lists.openmoko.org/nabble.html#nabble-td1615118

If your not that committed to killing compile bugs, then I would just install the binary from apt-get. 1.4 works fine with AGC
yeshuawatso
 
Posts: 22
Joined: Sat Apr 12, 2008 3:03 pm

Postby DarnoQ » Wed Apr 08, 2009 6:01 pm

Thank you yeshuawatso. I'll try to downgrade gcc maybe that will help.
DarnoQ
 
Posts: 32
Joined: Wed Mar 18, 2009 10:59 am


Return to Support

Who is online

Users browsing this forum: No registered users and 249 guests