partysip-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Partysip-dev] [Q] Registered Users?


From: Aymeric Moizard
Subject: RE: [Partysip-dev] [Q] Registered Users?
Date: Tue, 12 Aug 2003 23:15:07 +0200 (CEST)

The easiest way for you is to bypass the dbm autodetection.

If you know the header you need, then define the correct flag (by
looking in the partysip code (file ppldbm.c) and add the correct library:

For example:
CFLAGS="-DHAVE_DBM" LIBS="-ldbm" ./configure

Aymeric

On Tue, 12 Aug 2003, Walter Schober wrote:

> Hmm. I believe, that the problem is due to the fact, that these
> functions simply don't exist in gdbm. In gdbm.h the functions are called
> gdbm_open(), ...
>
> But they are defined in ndbm (what ever that is, but it comes with gdbm
> - next time I have some time left, I will look into that :-)
>
> BTW: Redhat 7.0, inc=/usr/include, lib=/usr/lib. So default paths.
>
> But as I said: Even the gdbm distribution cannot compile the tools due
> to the same error :-)) So I guess, that this is to be solved first -
> will find the correct mailing list...
>
> BTW: Why I'm doing this?
> ----------------------------------
> ~/tmp/partysip-2.0.1/tools>psp_users
> psp_users: partysip is compiled without DBM support. Please, recompile.
> ~/tmp/partysip-2.0.1/tools>
>
> :-)))
>
> thanks,
> W.
>
> ~/tmp/partysip-2.0.1> CFLAGS="-I/usr/include" CLIBS="-L/usr/lib -lgdbm"
> ./configure --with-db=gdbm
> [...]
> checking for dbm_open in -lgdbm... no
> [...]
>
> But interesting:
> ~/tmp/partysip-2.0.1> CFLAGS="-I/usr/include" CLIBS="-L/usr/lib -lndbm"
> ./configure --with-db=ndbm
> [...]
> checking for ndbm.h... yes
> checking for dbm_open in -lndbm... no
> [...]
>
> ~/tmp/partysip-2.0.1>more /usr/include/ndbm.h | grep dbm_open
> extern DBM      *dbm_open ();
>
>
>
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On
> Behalf Of Aymeric Moizard
> Sent: Monday, August 11, 2003 7:51 PM
> To: Walter Schober
> Cc: 'This is the partysip mailing list'
> Subject: RE: [Partysip-dev] [Q] Registered Users?
>
>
>
> Seems to be on windows?
>
> May be you should make sure the include file are in the correct include
> directory serach path?
>
> CFLAGS="-I/path/for/gdbm/includes" CLIBS="-L/path/for/gdbm/lib -lgdbm"
> ./configure --with-db=gdbm
>
> Aymeric
>
> On Thu, 7 Aug 2003, Walter Schober wrote:
>
> > OK. Need DBM support. Tried that for hours now. Having Redhat 7.0. New
>
> > binutil (for building new gdbm-1.8.3). So. Installed gdbm. But - ha -
> > even gdbm package itself cannot resolv dbm_open in it's own 'make
> > progs'. Well - searched mailing lists, read FAQs, read READMEs,
> > INSTALLs, nop. No chance to get either gdbm do it's make progs, or
> > partysip to do a successfull ./configure --with-db=gdbm (or dbm, ndbm,
>
> > ...).
> >
> > x:~/tmp/partysip-2.0.1>./configure --with-db=gdbm | grep dbm
> > /root/tmp/partysip-2.0.1/scripts/missing: Unknown `--run' option Try
> > `/root/tmp/partysip-2.0.1/scripts/missing --help' for more information
> > configure: WARNING: `missing' script is too old or missing
> > checking gdbm-ndbm.h usability... no
> > checking gdbm-ndbm.h presence... no
> > checking for gdbm-ndbm.h... no
> > checking for dbm_open in -lgdbm... no
> > x:~/tmp/partysip-2.0.1>
> >
> > Thousend questions in newsgroups about that linker error. Not one
> > usable answer? So anyone of you guys an idea? Does it simply not work?
> >
> > You don't know the linker error yet? This is it:
> > gcc -DOSIP_MT -D_REENTRANT -D_THREAD_SAFE -DXOPEN_SOURCE=500 -Wall
> > -pedantic -DUSE_TMP_BUFFER -DDENABLE_DEBUG -g -DENABLE_T RACE
> > -DPSP_SERVER_PREFIX=\"/usr/local\"
> > -DCONFIG_DIR=\"/usr/local/etc/partysip\" -pthread -g -O2 -o
> > .libs/partysip main.o p sp_config.o psp_utils.o psp_module.o
> > psp_plugin.o osip_msg.o psp_req.o psp_osip.o tlp.o tlp_plugin.o imp.o
> > imp_plugin.o uap .o uap_plugin.o sfp.o sfp_plugin.o sfp_branch.o
> > psp_core.o psp_core2.o psp_core3.o psp_core4.o psp_core5.o
> > psp_resolv.o psp _nat.o ntservice.o nt_svc.o -Wl,--export-dynamic
> > -L/usr/local/lib ../ppl/unix/.libs/libppl.so
> > /usr/local/lib/libosip2.so / usr/local/lib/libosipparser2.so -lnsl
> > -ldl -lresolv -Wl,--rpath -Wl,/usr/local/lib
> > ../ppl/unix/.libs/libppl.so: undefined reference to `dbm_firstkey'
> > ../ppl/unix/.libs/libppl.so: undefined reference to `dbm_fetch'
> > ../ppl/unix/.libs/libppl.so: undefined reference to `dbm_store'
> > ../ppl/unix/.libs/libppl.so: undefined reference to `dbm_nextkey'
> > ../ppl/unix/.libs/libppl.so: undefined reference to `dbm_open'
> > ../ppl/unix/.libs/libppl.so: undefined reference to `dbm_close'
> > ../ppl/unix/.libs/libppl.so: undefined reference to `dbm_delete'
> >
> > W.
> >
> > -----Original Message-----
> > From: address@hidden
> > [mailto:address@hidden On
> > Behalf Of Walter Schober
> > Sent: Thursday, August 07, 2003 7:21 PM
> > To: 'This is the partysip mailing list'
> > Subject: [Partysip-dev] [Q] Registered Users?
> >
> >
> > How to get the currently registered users out of partysip? Can I query
>
> > that somehow?
> >
> > rgds,
> > W.
> >
> >
> >
> > _______________________________________________
> > Partysip-dev mailing list
> > address@hidden
> > http://mail.nongnu.org/mailman/listinfo/partysip-dev
> >
> >
> >
> > _______________________________________________
> > Partysip-dev mailing list
> > address@hidden
> > http://mail.nongnu.org/mailman/listinfo/partysip-dev
> >
>
>
> _______________________________________________
> Partysip-dev mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/partysip-dev
>
>
>
> _______________________________________________
> Partysip-dev mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/partysip-dev
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]