This is a new one:
include/asterisk/lock.h:656:1: warning: "pthread_cond_wait" redefined
In file included from include/asterisk/lock.h:26,
from include/asterisk/linkedlists.h:23,
from include/asterisk/chanvars.h:26,
from include/asterisk/channel.h:111,
from include/asterisk/pbx.h:27,
from cli.c:41:
/usr/include/pthread.h:309:1: warning: this is the location of the
previous definition
In file included from include/asterisk/linkedlists.h:23,
from include/asterisk/chanvars.h:26,
from include/asterisk/channel.h:111,
from include/asterisk/pbx.h:27,
from cli.c:41:
include/asterisk/lock.h:657:1: warning: "pthread_cond_timedwait"
redefined
In file included from include/asterisk/lock.h:26,
from include/asterisk/linkedlists.h:23,
from include/asterisk/chanvars.h:26,
from include/asterisk/channel.h:111,
from include/asterisk/pbx.h:27,
from cli.c:41:
/usr/include/pthread.h:310:1: warning: this is the location of the
previous definition
cli.c:49:30: asterisk/version.h: No such file or directory
cli.c: In function `handle_version':
cli.c:414: error: `ASTERISK_VERSION' undeclared (first use in this
function)
cli.c:414: error: (Each undeclared identifier is reported only once
cli.c:414: error: for each function it appears in.)
cli.c: In function `ast_cli_completion_matches':
cli.c:1249: warning: subscript has type `char'
cli.c:1249: warning: subscript has type `char'
gmake: *** [cli.o] Error 1
The only two files with 'version' in thier name are '.version' and
./build_tools/make_version_h
On
Sat, 19 Aug 2006, Kim Culhan wrote:
From: "Kim Culhan" <[EMAIL PROTECTED]>
To: "Asterisk on BSD discussion" <[email protected]>
Subject: Re: [Asterisk-bsd] Asterisk on NetBSD.
On Fri, August 18, 2006 22:02, Robin-David Hammond %KB3IEN wrote:
> I tried gcc 3.3.3 with devel/ncurses installed via pksrc.But the linker
> seems to not see it.
>
> This is asterisk 1.2.10 not the 1.2.9.1 in pkgsrc.
>
> Any one had any success with asterisk on netbsd?
>
> gcc -c -o buildinfo.o -pipe -Wall -Wstrict-prototypes
> -Wmissing-prototypes
> -Wmissing-declarations -g3 -Iinclude -I../include -I/usr/pkg/include
> -D_REENTRANT -D_GNU_SOURCE -O6 -I/usr/local/include -L/usr/local/lib
> -pthread
> -fomit-frame-pointer buildinfo.c
> gcc -g3 -o asterisk -Wl,-E io.o sched.o logger.o frame.o loader.o
> config.o channel.o translate.o file.o say.o pbx.o cli.o md5.o term.o
> ulaw.o alaw.o callerid.o fskmodem.o image.o app.o cdr.o tdd.o acl.o rtp.o
> manager.o asterisk.o dsp.o chanvars.o indications.o autoservice.o db.o
> privacy.o astmm.o enum.o srv.o dns.o aescrypt.o aestab.o aeskey.o utils.o
> plc.o jitterbuf.o dnsmgr.o devicestate.o netsock.o slinfactory.o
> ast_expr2.o ast_expr2f.o cryptostub.o buildinfo.o editline/libedit.a
> db1-ast/libdb1.a stdtime/libtime.a -lncurses -lm -lpthread -lcrypto -lm
^^^^^^^^^
This causes the linker to look for libncurses in the LD_LIBRARY_PATH
> -L/usr/pkg/lib -lncurses -lssla
^^^^^^^^^^^^^
This now causes the linker to look for libraries referenced with
-l[whatever] in /usr/pkg/lib
Looks like you need to remove the second reference to -lncurses
You might take a look in the Makefile for this and remove -lncurses
where it appears after -L/usr/pkg/src
Also, is there really a libssla.* ?
-kim
--
[EMAIL PROTECTED]
_______________________________________________
Asterisk-BSD mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-bsd
Robin-David Hammond KB3IEN
+1 347 350 34 00
_______________________________________________
Asterisk-BSD mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-bsd