Hello, Pls. help ! I have server on Freebsd 5.2 and don't may install asterisk , following errors: ( gmake clean ; gmake install ) ----------------------------------------------------- iasing rules hash/ndbm.c: In function `dbm_store': hash/ndbm.c:185: warning: dereferencing type-punned pointer will break strict-aliasing rules hash/ndbm.c:185: warning: dereferencing type-punned pointer will break strict-aliasing rules gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_close.o btree/bt_close.c In file included from btree/btree.h:44, from btree/bt_close.c:50: include/mpool.h:53: error: syntax error before "CIRCLEQ_ENTRY" include/mpool.h:64: error: syntax error before "CIRCLEQ_HEAD" gmake[1]: *** [bt_close.o] Error 1 gmake[1]: Leaving directory `/usr/src/asterisk/db1-ast' gmake: *** [db1-ast/libdb1.a] Error 2 su-2.05b# ------------------------------------------------------- have any idee? Thanks, Regards, Serge. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040229/5614c0eb/attachment.htm
On Sun, Feb 29, 2004 at 04:26:17AM +0100, Serge wrote:> Hello, > > Pls. help ! > I have server on Freebsd 5.2 and don't may install asterisk , following errors: ( gmake clean ; gmake install ) > ----------------------------------------------------- > include/mpool.h:53: error: syntax error before "CIRCLEQ_ENTRY" > include/mpool.h:64: error: syntax error before "CIRCLEQ_HEAD"Asterisk bundles an obsolescent version of the Berkeley DB for silly copyright reasons. Just erase any reference to db1-ast in the Makefile -- FreeBSD includes the relevant routines in libc, so you don't need it. /w -- /~\ The ASCII Ribbon Campaign \ / No HTML/RTF in email X No Word docs in email / \ Respect for open standards
Thanks William, it's get. but new problem: ==================================chan_oss.c:39:31: machine/soundcard.h: No such file or directory chan_oss.c: In function `send_sound': chan_oss.c:177: error: syntax error before "abi" chan_oss.c:179: error: `SNDCTL_DSP_GETOSPACE' undeclared (first use in this function) chan_oss.c:179: error: (Each undeclared identifier is reported only once chan_oss.c:179: error: for each function it appears in.) chan_oss.c:179: error: `abi' undeclared (first use in this function) chan_oss.c: In function `setformat': chan_oss.c:324: error: `AFMT_S16_LE' undeclared (first use in this function) chan_oss.c:325: error: `SNDCTL_DSP_SETFMT' undeclared (first use in this function) chan_oss.c:330: error: `SNDCTL_DSP_SETDUPLEX' undeclared (first use in this function) chan_oss.c:337: error: `SNDCTL_DSP_STEREO' undeclared (first use in this function) chan_oss.c:345: error: `SNDCTL_DSP_SPEED' undeclared (first use in this function) chan_oss.c:356: error: `SNDCTL_DSP_SETFRAGMENT' undeclared (first use in this function) chan_oss.c: In function `soundcard_setoutput': chan_oss.c:373: error: `SNDCTL_DSP_RESET' undeclared (first use in this function) chan_oss.c: In function `soundcard_setinput': chan_oss.c:403: error: `SNDCTL_DSP_RESET' undeclared (first use in this function) chan_oss.c: In function `soundcard_writeframe': chan_oss.c:520: error: storage size of `info' isn't known chan_oss.c:524: error: `SNDCTL_DSP_GETOSPACE' undeclared (first use in this function) chan_oss.c:520: warning: unused variable `info' gmake[1]: *** [chan_oss.o] Error 1 gmake[1]: Leaving directory `/usr/src/asterisk/channels' gmake: *** [subdirs] Error 1 ======================================server dont have any sound device ( I think:) ) Why noone make normal Makefile and FAQ for FreeBSD Asterisk.. als many for Linux. Sorry I beginner in *nix.. Thanks ----- Original Message ----- From: "William Waites" <asterisk@lists.styx.org> To: <asterisk-users@lists.digium.com> Sent: Sunday, February 29, 2004 7:30 PM Subject: Re: [Asterisk-Users] Asterisk on Feebsd , pls. HELP !> On Sun, Feb 29, 2004 at 04:26:17AM +0100, Serge wrote: > > Hello, > > > > Pls. help ! > > I have server on Freebsd 5.2 and don't may install asterisk , followingerrors: ( gmake clean ; gmake install )> > ----------------------------------------------------- > > include/mpool.h:53: error: syntax error before "CIRCLEQ_ENTRY" > > include/mpool.h:64: error: syntax error before "CIRCLEQ_HEAD" > > Asterisk bundles an obsolescent version of the Berkeley > DB for silly copyright reasons. Just erase any reference > to db1-ast in the Makefile -- FreeBSD includes the > relevant routines in libc, so you don't need it. > > /w > -- > /~\ The ASCII Ribbon Campaign > \ / No HTML/RTF in email > X No Word docs in email > / \ Respect for open standards > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040301/39c2372a/attachment.htm
Amen to that!!! I have my own issues but I have been using Linux for less then a couple months now. Oh yeah I was wondering if you could give me instructions on how to set my Office XP up on SCO!!! LOL -----Original Message----- From: asterisk-users-admin@lists.digium.com on behalf of Steven Critchfield Sent: Thu 3/4/2004 12:49 PM To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] Asterisk on Feebsd , pls. HELP ! On Thu, 2004-03-04 at 13:48, William Waites wrote:> On Thu, Mar 04, 2004 at 11:24:12AM -0600, Tilghman Lesher wrote: > > > > You've already answered your question. As chan_h323 does not > > work on FreeBSD, and as you need chan_h323, you are therefore > > required to not use FreeBSD. > > > > Install Linux, like everybody else. > > Genetic diversity in operating system support is a good > thing. It makes for more robust code. Following standards > is a good thing -- POSIX was written for a reason. If you > only support one OS you are less likely to notice when > you do something non-standard.Ahh then you don't believe the SCO FUD that Linux sprang forth from SVR4 or 5 or something else they supposedly own that is also the foundation of the BSDs..... While I don't object to the idea of trying to get asterisk to work on *BSD, it almost is something that needs it's own list/world to wallow in. Or then again, as it will probably require code changes, maybe it would be better suited to the -dev list where it can be ignored by the proper people and not add to the general noise in this list from all the SIP users who can't configure their way out of a paper bag. I wonder if Microsoft gets support questions on how to make their Office product work on Amigas? -- Steven Critchfield <critch@basesys.com> _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 3726 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20040304/82a9b773/attachment.bin