< Previous by Date Date Index Next by Date >
  Thread Index  

[reSIProcate] RE: [repro-users] Unable to compile repro on Linux.


Hi all,

I tried to make both resiprocate and repro on 3 different linux OS - Fedora 
Core 4, Fedora Core 3 and RedHat ES3, but in each of them I get different 
problems:
Automake doesn't work well for resiprocate on RedHat ES3 - old version of 
automake + RANLIB being obsolete... (I saw someone sent a mail about it to the 
newsgroup but no answer about it)
On both Fedoras resiprocate tar-ball compiles fine but if I download the source 
through svn - each svn version gives me different problems (It seems at each 
day there's a different version and for some old errors mentioned in the 
newsgroup appear but for other versions only new kind of errors appear) usually 
I can fix these errors but when I get to making repro I first have to download 
'build' library from the svn and then make produces errors like 'missing file' 
or 'No foo(URI u) function define candidates is foo(URI &u)'.

I think repro whoever submits versions to svn should at least check if repro 
still works on windows and on linux. And some kind of an alignment should be 
done with all svn submitters.

Can anyone provide a linux tar-ball with both resiprocate (0.9.x) and repro 
working?

Micky Kaufmann 

-----Original Message-----
From: repro-users-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:repro-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Robert Sparks
Sent: ד 13 יולי 2005 15:49
To: Nils Ohlmeier
Cc: repro-users@xxxxxxxxxxxxxxxxxxx; jason@xxxxxx
Subject: Re: [repro-users] Unable to compile repro on Linux.

I have a lot of work I did for the autotools build in 0.9.0 that I need 
to merge back into main.

RjS

On Jul 13, 2005, at 3:58 AM, Nils Ohlmeier wrote:

> Sorry you got me wrong. In this case not the version of the autotools 
> is a
> problem. But it seems that several files have been removed from the 
> build
> process, and several were added. Unfortunately nobody updated the list 
> of
> source files in the resiprocate Makefile.am. So the autotools Makefile 
> is
> just not on the same level like the plain old Makefile.
>
> Regards
>   Nils
>
> On Wednesday 13 July 2005 02:30, Fischl jason wrote:
>> Is it possible to get the autotools stuff to build without having to
>> install the bleeding edge version of autoconf, libtool, automake, etc?
>> It seems a bit crazy that resip doesn't build on the latest version of
>> fedora and MacOSX.
>>
>> On 7/12/05, Nils Ohlmeier <lists@xxxxxxxxxxxx> wrote:
>>> Prasanna,
>>>
>>> it seem like the build errors which got during building resiprocate 
>>> are
>>> caused by non up-to-date autotools files. I'm working on it, but 
>>> still
>>> fighting with test directory.
>>>
>>> Thanks for finding this
>>>   Nils
>>>
>>> On Tuesday 12 July 2005 02:26, Prasanna Sathyanarayana wrote:
>>>> Hi,
>>>> I have checked out the repro software and am unable to compile on
>>>> Linux. I have listed the issue I have below. I have copy-pasted the
>>>> commands I ran and also added some comments below. Can somebody 
>>>> point
>>>> me to what I am doing wrong here. Please take a look. Any help is
>>>> appreciated.
>>>>
>>>> -Prasanna.
>>>>
>>>> $ cat /proc/version
>>>> Linux version 2.4.21-20.EL (bhcompile@xxxxxxxxxxxxxxxxxxxxxxx) (gcc
>>>> version 3.2.3 20030502 (Red Hat Linux 3.2.3-42)) #1 Wed Aug 18 
>>>> 20:58:25
>>>> EDT 2004
>>>>
>>>> $ cat /etc/redhat-release
>>>> Red Hat Enterprise Linux ES release 3 (Taroon Update 3)
>>>>
>>>> Checked out version 5049 from the repository
>>>> $ svn co http://scm.sipfoundry.org/rep/resiprocate/main
>>>>
>>>> $ cd svn/main/sip
>>>>
>>>> $ chmod +x use-autotools.sh
>>>>
>>>> $ ./use-autotool.sh
>>>>
>>>> $ bash autogen.sh
>>>>
>>>> $ cd repro
>>>>
>>>> $ bash autogen.sh
>>>> $ cd ../
>>>> $ ./configure
>>>> --- Have also tried with the options "--with-shared-libs" and
>>>> "--with-openssl" with the same result.
>>>> $ cd repro/
>>>> $ ./configure
>>>> $ cd ../
>>>> $ make
>>>> Making all in resiprocate
>>>> make[1]: Entering directory 
>>>> `/root/SIPProxy/svn/main/sip/resiprocate'
>>>> make  all-recursive
>>>> make[2]: Entering directory 
>>>> `/root/SIPProxy/svn/main/sip/resiprocate'
>>>> Making all in .
>>>> make[3]: Entering directory 
>>>> `/root/SIPProxy/svn/main/sip/resiprocate'
>>>> if /bin/sh ../libtool --tag=CXX --mode=compile  g++ -DHAVE_CONFIG_H 
>>>> -I.
>>>> -I. -I. -I.. -I..  -I/usr/include -I/usr/local/ssl/include
>>>> -I/root/SIPProxy/svn/main/sip/contrib/ares -I/usr/kerberos/include  
>>>> -g
>>>> -O2 -Wall -Wno-deprecated -MT HttpGetMessage.lo -MD -MP -MF
>>>> ".deps/HttpGetMessage.Tpo" -c -o HttpGetMessage.lo `test -f
>>>> 'external/HttpGetMessage.cxx' || echo 
>>>> './'`external/HttpGetMessage.cxx;
>>>> \
>>>> then mv -f ".deps/HttpGetMessage.Tpo" ".deps/HttpGetMessage.Plo"; 
>>>> else
>>>> rm -f ".deps/HttpGetMessage.Tpo"; exit 1; fi
>>>> libtool: unrecognized option `--tag=CXX'
>>>> Try `libtool --help' for more information.
>>>> make[3]: *** [HttpGetMessage.lo] Error 1
>>>> make[3]: Leaving directory `/root/SIPProxy/svn/main/sip/resiprocate'
>>>> make[2]: *** [all-recursive] Error 1
>>>> make[2]: Leaving directory `/root/SIPProxy/svn/main/sip/resiprocate'
>>>> make[1]: *** [all] Error 2
>>>> make[1]: Leaving directory `/root/SIPProxy/svn/main/sip/resiprocate'
>>>> make: *** [all-recursive] Error 1
>>>>
>>>> --- Edited the makefile to remove the --tag=CXX option
>>>> $ vi Makefile
>>>> --- Ran make again:
>>>> $ make
>>>> --- This time I get the following error:
>>>> if /bin/sh ../libtool --mode=compile  g++ -DHAVE_CONFIG_H -I. -I. 
>>>> -I.
>>>> -I.. -I..  -I/usr/include -I/usr/local/ssl/include
>>>> -I/root/SIPProxy/svn/main/sip/contrib/ares -I/usr/kerberos/include  
>>>> -g
>>>> -O2 -Wall -Wno-deprecated -MT WinCompat.lo -MD -MP -MF
>>>> ".deps/WinCompat.Tpo" -c -o WinCompat.lo `test -f 
>>>> 'os/WinCompat.cxx' ||
>>>> echo './'`os/WinCompat.cxx; \
>>>> then mv -f ".deps/WinCompat.Tpo" ".deps/WinCompat.Plo"; else rm -f
>>>> ".deps/WinCompat.Tpo"; exit 1; fi
>>>> rm -f .libs/WinCompat.lo
>>>> g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -I/usr/include
>>>> -I/usr/local/ssl/include -I/root/SIPProxy/svn/main/sip/contrib/ares
>>>> -I/usr/kerberos/include -g -O2 -Wall -Wno-deprecated -MT 
>>>> WinCompat.lo
>>>> -MD -MP -MF .deps/WinCompat.Tpo -c os/WinCompat.cxx  -fPIC -DPIC
>>>> os/WinCompat.cxx:1:22: Winsock2.h: No such file or directory
>>>> os/WinCompat.cxx:2:22: Iphlpapi.h: No such file or directory
>>>> In file included from os/WinCompat.cxx:5:
>>>> ../resiprocate/os/WinCompat.hxx:4:22: Iphlpapi.h: No such file or
>>>> directory
>>>> In file included from os/WinCompat.cxx:5:
>>>> ../resiprocate/os/WinCompat.hxx:49: `WINAPI' was not declared in 
>>>> this
>>>> scope
>>>> ../resiprocate/os/WinCompat.hxx:49: `GetBestInterfaceExProc' was not
>>>> declared
>>>>    in this scope
>>>> ../resiprocate/os/WinCompat.hxx:49: type specifier omitted for
>>>> parameter `DWORD
>>>>    '
>>>> ../resiprocate/os/WinCompat.hxx:49: syntax error before `*' token
>>>> ../resiprocate/os/WinCompat.hxx:49: ISO C++ forbids declaration of
>>>> `DWORD' with
>>>>    no type
>>>> ../resiprocate/os/WinCompat.hxx:49: typedef `resip::DWORD' is
>>>> initialized (use
>>>>    __typeof__ instead)
>>>> ../resiprocate/os/WinCompat.hxx:50: syntax error before `*' token
>>>> ../resiprocate/os/WinCompat.hxx:54: 'GetBestInterfaceExProc' is 
>>>> used as
>>>> a type,
>>>>    but is not defined as a type.
>>>> ../resiprocate/os/WinCompat.hxx:55: 'GetAdaptersAddressesProc' is 
>>>> used
>>>> as a
>>>>    type, but is not defined as a type.
>>>> os/WinCompat.cxx: In static member function `static
>>>> resip::WinCompat::Version
>>>>    resip::WinCompat::getVersion()':
>>>> os/WinCompat.cxx:23: `OSVERSIONINFOEX' undeclared (first use this
>>>> function)
>>>> os/WinCompat.cxx:23: (Each undeclared identifier is reported only 
>>>> once
>>>> for each
>>>>    function it appears in.)
>>>> os/WinCompat.cxx:23: syntax error before `;' token
>>>> os/WinCompat.cxx:24: `BOOL' undeclared (first use this function)
>>>> os/WinCompat.cxx:29: `osvi' undeclared (first use this function)
>>>> os/WinCompat.cxx:29: `ZeroMemory' undeclared (first use this 
>>>> function)
>>>> os/WinCompat.cxx:32: `bOsVersionInfoEx' undeclared (first use this
>>>> function)
>>>> os/WinCompat.cxx:32: `OSVERSIONINFO' undeclared (first use this
>>>> function)
>>>> os/WinCompat.cxx:32: syntax error before `)' token
>>>> os/WinCompat.cxx:32: `GetVersionEx' undeclared (first use this
>>>> function)
>>>> os/WinCompat.cxx:35: syntax error before `)' token
>>>> os/WinCompat.cxx:44: `VER_PLATFORM_WIN32_NT' undeclared (first use 
>>>> this
>>>>    function)
>>>> os/WinCompat.cxx:66: `VER_PLATFORM_WIN32_WINDOWS' undeclared (first 
>>>> use
>>>> this
>>>>    function)
>>>> os/WinCompat.cxx: In constructor `resip::WinCompat::WinCompat()':
>>>> os/WinCompat.cxx:116: class `resip::WinCompat' does not have any 
>>>> field
>>>> named `
>>>>    getBestInterfaceEx'
>>>> os/WinCompat.cxx:116: class `resip::WinCompat' does not have any 
>>>> field
>>>> named `
>>>>    getAdaptersAddresses'
>>>> os/WinCompat.cxx:125: `HINSTANCE' undeclared (first use this 
>>>> function)
>>>> os/WinCompat.cxx:125: syntax error before `=' token
>>>> os/WinCompat.cxx:126: `hLib' undeclared (first use this function)
>>>> os/WinCompat.cxx:132: `getBestInterfaceEx' undeclared (first use 
>>>> this
>>>> function)
>>>> os/WinCompat.cxx:132: `GetBestInterfaceExProc' undeclared (first use
>>>> this
>>>>    function)
>>>> os/WinCompat.cxx:132: syntax error before `(' token
>>>> os/WinCompat.cxx:133: `getAdaptersAddresses' undeclared (first use 
>>>> this
>>>>    function)
>>>> os/WinCompat.cxx:133: `GetAdaptersAddressesProc' undeclared (first 
>>>> use
>>>> this
>>>>    function)
>>>> os/WinCompat.cxx:133: syntax error before `(' token
>>>> os/WinCompat.cxx: In static member function `static resip::Tuple
>>>>    resip::WinCompat::determineSourceInterfaceWithIPv6(const
>>>> resip::Tuple&)':
>>>> os/WinCompat.cxx:157: `class resip::WinCompat' has no member named `
>>>>    getBestInterfaceEx'
>>>> os/WinCompat.cxx:157: `NO_ERROR' undeclared (first use this 
>>>> function)
>>>> os/WinCompat.cxx:163: `IP_ADAPTER_ADDRESSES' undeclared (first use 
>>>> this
>>>>    function)
>>>> os/WinCompat.cxx:163: `pAdapterAddresses' undeclared (first use this
>>>> function)
>>>> os/WinCompat.cxx:165: `class resip::WinCompat' has no member named `
>>>>    getAdaptersAddresses'
>>>> os/WinCompat.cxx:166: `ERROR_BUFFER_OVERFLOW' undeclared (first use
>>>> this
>>>>    function)
>>>> os/WinCompat.cxx:169: syntax error before `)' token
>>>> os/WinCompat.cxx:176: function `int flags(...)' is initialized like 
>>>> a
>>>> variable
>>>> os/WinCompat.cxx:176: `GAA_FLAG_INCLUDE_PREFIX' undeclared (first 
>>>> use
>>>> this
>>>>    function)
>>>> os/WinCompat.cxx:176: `GAA_FLAG_SKIP_MULTICAST' undeclared (first 
>>>> use
>>>> this
>>>>    function)
>>>> os/WinCompat.cxx:177: `class resip::WinCompat' has no member named `
>>>>    getAdaptersAddresses'
>>>> os/WinCompat.cxx:178: `ERROR_SUCCESS' undeclared (first use this
>>>> function)
>>>> os/WinCompat.cxx:180: `LocalFree' undeclared (first use this 
>>>> function)
>>>> os/WinCompat.cxx:185: `AI' undeclared (first use this function)
>>>> os/WinCompat.cxx: In static member function `static resip::Tuple
>>>>    resip::WinCompat::determineSourceInterfaceWithoutIPv6(const
>>>> resip::Tuple&)':
>>>> os/WinCompat.cxx:217: `MIB_IPFORWARDROW' undeclared (first use this
>>>> function)
>>>> os/WinCompat.cxx:217: syntax error before `;' token
>>>> os/WinCompat.cxx:218: `bestRoute' undeclared (first use this 
>>>> function)
>>>> os/WinCompat.cxx:220: `GetBestRoute' undeclared (first use this
>>>> function)
>>>> os/WinCompat.cxx:226: `PMIB_IPADDRTABLE' undeclared (first use this
>>>> function)
>>>> os/WinCompat.cxx:226: syntax error before `=' token
>>>> os/WinCompat.cxx:227: `ULONG' undeclared (first use this function)
>>>> os/WinCompat.cxx:230: `ERROR_INSUFFICIENT_BUFFER' undeclared (first 
>>>> use
>>>> this
>>>>    function)
>>>> os/WinCompat.cxx:230: `addrSize' undeclared (first use this 
>>>> function)
>>>> os/WinCompat.cxx:230: `FALSE' undeclared (first use this function)
>>>> os/WinCompat.cxx:230: `GetIpAddrTable' undeclared (first use this
>>>> function)
>>>> os/WinCompat.cxx:232: `pIpAddrTable' undeclared (first use this
>>>> function)
>>>> os/WinCompat.cxx:232: syntax error before `new'
>>>> os/WinCompat.cxx:245: function `int i(...)' is initialized like a
>>>> variable
>>>> os/WinCompat.cxx:245: ISO C++ forbids incrementing a pointer of type
>>>> `int
>>>>    (*)(...)'
>>>> os/WinCompat.cxx:245: non-lvalue in increment
>>>> os/WinCompat.cxx:247: `MIB_IPADDRROW' undeclared (first use this
>>>> function)
>>>> os/WinCompat.cxx:247: `entry' undeclared (first use this function)
>>>> os/WinCompat.cxx:249: syntax error before `=' token
>>>> make[3]: *** [WinCompat.lo] Error 1
>>>> make[3]: Leaving directory `/root/SIPProxy/svn/main/sip/resiprocate'
>>>> make[2]: *** [all-recursive] Error 1
>>>> make[2]: Leaving directory `/root/SIPProxy/svn/main/sip/resiprocate'
>>>> make[1]: *** [all] Error 2
>>>> make[1]: Leaving directory `/root/SIPProxy/svn/main/sip/resiprocate'
>>>> make: *** [all-recursive] Error 1
>>>>
>>>> --- Why is it trying to compile the windows file on Linux?
>>>> _______________________________________________
>>>> repro-users mailing list
>>>> repro-users@xxxxxxxxxxxxxxxxxxx
>>>> https://list.sipfoundry.org/mailman/listinfo/repro-users
>>>
>>> _______________________________________________
>>> repro-users mailing list
>>> repro-users@xxxxxxxxxxxxxxxxxxx
>>> https://list.sipfoundry.org/mailman/listinfo/repro-users
> _______________________________________________
> repro-users mailing list
> repro-users@xxxxxxxxxxxxxxxxxxx
> https://list.sipfoundry.org/mailman/listinfo/repro-users

_______________________________________________
repro-users mailing list
repro-users@xxxxxxxxxxxxxxxxxxx
https://list.sipfoundry.org/mailman/listinfo/repro-users