Re: [Hamlib-developer] hamlib-1.1.3 RPM anyone ?
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: Joop S. <pa...@de...> - 2002-12-31 12:25:29
|
Op di 31-12-2002, om 04:04 schreef Gary Mackey: > Joop - > > Thanks, I'll do my best at answering your questions below: > Okay, lets try to get compilation going first. > On Mon, 2002-12-30 at 06:13, Joop Stakenborg wrote: > > > What exactly is the problem when you compile hamlib? We may be able to > > solve it. > > The ./configure appears to run OK but I receive the following errors when I > execute the "make" and it ends with an errorlevel=1. > > /usr/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated. > rigclass.cc:366: default argument given for parameter 2 of `void Rig::setRptrShift(rptr_shift_e, int = 0)' > ../include/hamlib/rigclass.h:99: after previous specification in `void Rig::setRptrShift(rptr_shift_e, int = 0)' > rigclass.cc:371: default argument given for parameter 1 of `rptr_shift_t Rig::getRptrShift(int = 0)' > ../include/hamlib/rigclass.h:100: after previous specification in `rptr_shift_t Rig::getRptrShift(int = 0)' > rigclass.cc:380: default argument given for parameter 2 of `void Rig::setRptrOffs(long int, int = 0)' > ../include/hamlib/rigclass.h:101: after previous specification in `void Rig::setRptrOffs(long int, int = 0)' > rigclass.cc:385: default argument given for parameter 1 of `shortfreq_t Rig::getRptrOffs(int = 0)' > ../include/hamlib/rigclass.h:102: after previous specification in `shortfreq_t Rig::getRptrOffs(int = 0)' > rigclass.cc:394: default argument given for parameter 2 of `void Rig::setTs(long int, int = 0)' > ../include/hamlib/rigclass.h:103: after previous specification in `void Rig::setTs(long int, int = 0)' > rigclass.cc:399: default argument given for parameter 1 of `shortfreq_t Rig::getTs(int = 0)' > ../include/hamlib/rigclass.h:104: after previous specification in `shortfreq_t Rig::getTs(int = 0)' > rigclass.cc:408: default argument given for parameter 2 of `void Rig::setCTCSS(unsigned int, int = 0)' > ../include/hamlib/rigclass.h:106: after previous specification in `void Rig::setCTCSS(unsigned int, int = 0)' > rigclass.cc:413: default argument given for parameter 1 of `tone_t Rig::getCTCSS(int = 0)' > ../include/hamlib/rigclass.h:107: after previous specification in `tone_t Rig::getCTCSS(int = 0)' > rigclass.cc:422: default argument given for parameter 2 of `void Rig::setDCS(unsigned int, int = 0)' > ../include/hamlib/rigclass.h:108: after previous specification in `void Rig::setDCS(unsigned int, int = 0)' > rigclass.cc:427: default argument given for parameter 1 of `tone_t Rig::getDCS(int = 0)' > ../include/hamlib/rigclass.h:109: after previous specification in `tone_t Rig::getDCS(int > rigclass.cc:436: default argument given for parameter 2 of `void Rig::setCTCSSsql(unsigned int, int = 0)' > ../include/hamlib/rigclass.h:111: after previous specification in `void Rig::setCTCSSsql(unsigned int, int = 0)' > rigclass.cc:441: default argument given for parameter 1 of `tone_t Rig::getCTCSSsql(int = 0)' > ../include/hamlib/rigclass.h:112: after previous specification in `tone_t Rig::getCTCSSsql(int = 0)' > rigclass.cc:450: default argument given for parameter 2 of `void Rig::setDCSsql(unsigned int, int = 0)' > ../include/hamlib/rigclass.h:113: after previous specification in `void Rig::setDCSsql(unsigned int, int = 0)' > rigclass.cc:455: default argument given for parameter 1 of `tone_t Rig::getDCSsql(int = 0)' > ../include/hamlib/rigclass.h:114: after previous specification in `tone_t Rig::getDCSsql(int = 0)' > rigclass.cc:465: default argument given for parameter 3 of `void Rig::setFunc(long long unsigned int, bool, int = 0)' > ../include/hamlib/rigclass.h:83: after previous specification in `void Rig::setFunc(long > long unsigned int, bool, int = 0)' > rigclass.cc:470: default argument given for parameter 2 of `bool Rig::getFunc(long long unsigned int, int = 0)' > ../include/hamlib/rigclass.h:84: after previous specification in `bool Rig::getFunc(long long unsigned int, int = 0)' > rigclass.cc:619: default argument given for parameter 2 of `void Rig::setBank(int, int = 0)' > ../include/hamlib/rigclass.h:121: after previous specification in `void Rig::setBank(int, int = 0)' > rigclass.cc:624: default argument given for parameter 2 of `void Rig::setMem(int, int = 0)' > ../include/hamlib/rigclass.h:122: after previous specification in `void Rig::setMem(int, int = 0)' > rigclass.cc:629: default argument given for parameter 1 of `int Rig::getMem(int = 0)' > ../include/hamlib/rigclass.h:123: after previous specification in `int Rig::getMem(int = 0)' > make[1]: *** [rigclass.lo] Error 1 > make[1]: Leaving directory `/home/gary/hamlib-1.1.3/c++' > make: *** [all-recursive] Error 1 > [root@wslnx hamlib-1.1.3]# > It's a compiler issue. Mandrake uses the gcc-3.2 compiler, whilest hamlib-1.1.3 was developed with gcc-2.95. Could you please try and run './configure --without-cxx-binding' and 'make' again? Stephane, did you fix this on the CVS version of hamlib? This would mean Gary can try the latest snapshot.... > > > I could provide RPMs of the hamlib CVS version. In order > > to do so, I need to know your glibc version, is it 2.2 or 2.3? > > I believe that I'm running glibc version 2.2. See results below: > > [gary@wslnx gary]$ ls -l /lib/libc* > -rwxr-xr-x 1 root root 1147848 Aug 19 06:17 > /lib/libc-2.2.5.so* > lrwxr-xr-x 1 root root 17 Nov 16 18:18 > /lib/libcom_err.so.2 -> libcom_err.so.2.0* > -rwxr-xr-x 1 root root 5088 Aug 29 13:42 > /lib/libcom_err.so.2.0* > -rwxr-xr-x 1 root root 19436 Aug 19 06:17 > /lib/libcrypt-2.2.5.so* > lrwxr-xr-x 1 root root 17 Nov 16 18:18 > /lib/libcrypt.so.1 -> libcrypt-2.2.5.so* > lrwxr-xr-x 1 root root 13 Nov 16 18:18 /lib/libc.so.6 > -> libc-2 .2.5.so* > [gary@wslnx gary]$ /lib/libc-2.2.5.so > GNU C Library stable release version 2.2.5, by Roland McGrath et al. > Copyright (C) 1992-2001, 2002 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. > There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A > PARTICULAR PURPOSE. > Compiled by GNU CC version 3.2 (Mandrake Linux 9.0 3.2-1mdk). > Compiled on a Linux 2.4.18 system on 2002-08-19. > Available extensions: > GNU libio by Per Bothner > crypt add-on version 2.1 by Michael Glad and others > linuxthreads-0.9 by Xavier Leroy > BIND-8.2.3-T5B > libthread_db work sponsored by Alpha Processor Inc > NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk > Report bugs using the `glibcbug' script to <bu...@gn...>. > [gary@wslnx gary]$ > > Yes. it's version 2.2. But lets focus on the compilation issue first. > > Thanks again, > ...Gary, K8EHB > > Regards, Joop PA4TU |