[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Partysip-dev] Compilation error on Linux
From: |
Aymeric Moizard |
Subject: |
Re: [Partysip-dev] Compilation error on Linux |
Date: |
Thu, 11 Sep 2003 16:58:48 +0200 (CEST) |
This is a very old version. Please try the latest one and
come back after.
Thanks
Aymeric
On Tue, 9 Sep 2003, Hugo Villeneuve wrote:
> Hi,
>
> While trying to compile partysip-0.5.6 on Linux, I got the following
> error message:
>
> ---------------------------------------------------------------------------------------------------------------
> make[2]: Entering directory `/home/hugo/partysip-0.5.6/plugin'
> Making all in udp
> make[3]: Entering directory `/home/hugo/partysip-0.5.6/plugin/udp'
> source='udp.c' object='udp.lo' libtool=yes \
> depfile='.deps/udp.Plo' tmpdepfile='.deps/udp.TPlo' \
> depmode=gcc3 /bin/sh ../../scripts/depcomp \
> /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..
> -I../.. -I../../ppl/unix -I/usr/local/include -DOSIP_MT -D_REENTRANT
> -D_THREAD_SAFE -DXOPEN_SOURCE=500 -Wall -pedantic -DUSE_TMP_BUFFER
> -DENABLE_DEBUG -g -DENABLE_TRACE -DMULTICAST_SUPPORT -DALPHA_FIREWALL
> -I/usr/local/include -c -o udp.lo `test -f 'udp.c' || echo './'`udp.c
> rm -f .libs/udp.lo
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../ppl/unix
> -I/usr/local/include -DOSIP_MT -D_REENTRANT -D_THREAD_SAFE -DXOPEN_SOURCE=500
> -Wall -pedantic -DUSE_TMP_BUFFER -DENABLE_DEBUG -g -DENABLE_TRACE
> -DMULTICAST_SUPPORT -DALPHA_FIREWALL -I/usr/local/include -c udp.c -MT udp.lo
> -MD -MP -MF .deps/udp.TPlo -fPIC -DPIC -o .libs/udp.lo
> udp.c: In function `local_ctx_init':
> udp.c:162: too few arguments to function `ppl_dns_get_local_fqdn'
> make[3]: *** [udp.lo] Error 1
> make[3]: Leaving directory `/home/hugo/partysip-0.5.6/plugin/udp'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/hugo/partysip-0.5.6/plugin'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/hugo/partysip-0.5.6'
> make: *** [all] Error 2
> -------------------------------------------------------------------------------------------------------------------
>
> It seems that in the file 'plugin/udp/udp.c' at line 162, there is an
> argument missing to the function call, so I added 'NULL' as the third
> argument and the compilation process is now working correctly:
>
> if (0 != ppl_dns_get_local_fqdn (&tmp_name, &tmp_ip, NULL,
> &tmp_mask,if_mcast))
>
> I have attached the file 'config.log' generated by configure. I
> launched configure with the command:
>
> CFLAGS="-DMULTICAST_SUPPORT -DALPHA_FIREWALL -I/usr/local/include"
> LIBS="-lrt -L/usr/local/lib" ./configure
>
> Hugo Villeneuve.
>