AX.25 Kconfig and docs updates and fixes
Subsystems (3)
o The AX.25 Howto is unmaintained since several years. I've replaced it with a wiki at http://www.linux-ax25.org which provides more uptodate information.
o Change default for AX25_DAMA_SLAVE to Y. AX25_DAMA_SLAVE only compiles in support for DAMA but doesn't activate it. I hope this gets Linux distributions to ship their AX.25 kernels with AX25_DAMA_SLAVE enabled. The price for this would be very small.
o Delete historic changelog from comments, that's what SCM systems are meant to do.
o ---help--- in Kconfig looks so yellingly eye insulting. Use just help.
o Rewrite the commented out piece of old Linux 2.4 configuration language to Kconfig for consistency.
o Fixup dependencies.
Documentation/networking/ax25.txt +6 -12
@@ -1,16 +1,10 @@ To use the amateur radio protocols within Linux you will need to get a -suitable copy of the AX.25 Utilities. More detailed information about these -and associated programs can be found on http://zone.pspt.fi/~jsn/. - -For more information about the AX.25, NET/ROM and ROSE protocol stacks, see -the AX25-HOWTO written by Terry Dawson <[email protected]> -who is also the AX.25 Utilities maintainer. +suitable copy of the AX.25 Utilities. More detailed information about +AX.25, NET/ROM and ROSE, associated programs and and utilities can be +found on http://www.linux-ax25.org. There is an active mailing list for discussing Linux amateur radio matters -called linux-hams. To subscribe to it, send a message to +called [email protected]. To subscribe to it, send a message to [email protected] with the words "subscribe linux-hams" in the body -of the message, the subject field is ignored. - -Jonathan G4KLX - [email protected] +of the message, the subject field is ignored. You don't need to be +subscribed to post but of course that means you might miss an answer.
net/ax25/Kconfig +36 -25
122 lines not on this page · raw message
From: Ralf Baechle <[email protected]>
Date: Tue, 13 Mar 2007 11:55:38 +0000
Quoted 14 lines
o The AX.25 Howto is unmaintained since several years. I've replaced it with a wiki at http://www.linux-ax25.org which provides more uptodate information.
o Change default forAX25_DAMA_SLAVEto Y.AX25_DAMA_SLAVEonly compiles in support for DAMA but doesn't activate it. I hope this gets Linux distributions to ship their AX.25 kernels withAX25_DAMA_SLAVEenabled. The price for this would be very small.
o Delete historic changelog from comments, that's what SCM systems are meant to do.
o ---help--- inKconfiglooks so yellingly eye insulting. Use just help.
o Rewrite the commented out piece of old Linux 2.4 configuration language toKconfigfor consistency.
o Fixup dependencies.
Quoted 1 line
Signed-off-by Ralf Baechle <[email protected]>
Applied, thanks Ralf.
Error compiling aprsd-2.2.5-15
Hi All,
Is aprsd-2.2.5-15.tar.gz the last available source for aprsd ?
I did ./configure without problem but got g++ warning and the following error :
deprecated header <iostream.h>. To disable this warning use -Wno-deprecated. aprsString.h:199: error: extra qualification ‘aprsd::aprsString::’ on member ‘getMsgText’
I also tried CVS source tree but got stuck as running autoconf to make a configure file gave error :
configure.ac:8 error: possibly undefined macro: AM_INIT_AUTOMAKE
Can someone help ?
73 de Bernard, f6bvp
-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Error compiling aprsd-2.2.5-15
Quoted 1 line · Bernard Pidoux
Is aprsd-2.2.5-15.tar.gz the last available source for aprsd ?
If you're talking SourceForge aprsd, then yes, it appears so. Others have released aprsd before as well, typically doing so by adding their callsign into the package name if they did mods.
Quoted 6 lines
I did ./configure without problem but got g++ warning and the following error :
deprecated header <
iostream.h>. To disable this warning use -Wno-deprecated. aprsString.h:199: error: extra qualification ?aprsd::aprsString::? on member ?getMsgText?
I'm not a C++ guy so I can't help you there. If it were me I'd try looking at the header files and the source code to see where the mismatch was.
Quoted 4 lines
I also tried CVS source tree but got stuck as running autoconf to make a configure file gave error :
configure.ac:8 error: possibly undefined macro:
AM_INIT_AUTOMAKE
You might need to update your version of "automake" and "autoconf" on that box. Or downgrade them. Note that they work well as a pair, so sometimes upgrading/downgrading one will require you to do the same to the other package to make things work smoothly.
--
Curt, WE7U. APRS Client Comparisons: http://www.eskimo.com/~archer
"Lotto: A tax on people who are bad at math." -- unknown
"Windows: Microsoft's tax on computer illiterates." -- WE7U "The world DOES revolve around me: I picked the coordinate system!"
Error compiling aprsd-2.2.6-4 from CVS
In reply to Bernard PidouxHi All,
In aprsd directory captured from CVS sourceforge (aprsd-2.2.6-4) I changed boostrap.sh file permission to a+x and ran the script. It built configure script and then I was able to run ./configure and make.
However I got an error during compile :
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -g -O2 -Wall
-march=pentium -fPIC -DPIC -pedantic -pipe -pthread -MT aprsd.o -MD -MP -MF ".deps/aprsd.Tpo" -c -o aprsd.o aprsd.cpp; \
then mv -f ".deps/aprsd.Tpo" ".deps/aprsd.Po"; else rm -f
".deps/aprsd.Tpo"; exit 1; fi
refcount.hpp:185: error: extra ‘;’
make[2]: *** [aprsd.o] Erreur 1
I removed extra ';' on line 185 of src/refcount.hpp and also replaced in all concerned files
#include <iostream>
by
#include <sstream>
to remove warnings about deprecated header <iostream>.
Then I ran make and I have still error messages :
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -g -O2 -Wall
-march=pentium -fPIC -DPIC -pedantic -pipe -pthread -MT aprsd.o -MD -MP -MF ".deps/aprsd.Tpo" -c -o aprsd.o aprsd.cpp; \
then mv -f ".deps/aprsd.Tpo" ".deps/aprsd.Po"; else rm -f
".deps/aprsd.Tpo"; exit 1; fi
aprsd.cpp: In function ‘void serverQuit()’:
aprsd.cpp:139: error: ‘cout’ was not declared in this scope aprsd.cpp: In function ‘int serverConfig(const std::string&)’:
aprsd.cpp:212: error: ‘cout’ was not declared in this scope aprsd.cpp:565: error: ‘cerr’ was not declared in this scope aprsd.cpp:569: error: ‘cerr’ was not declared in this scope aprsd.cpp: In function ‘int daemonInit()’:
aprsd.cpp:645: error: ‘cout’ was not declared in this scope aprsd.cpp:660: error: ‘cout’ was not declared in this scope aprsd.cpp: In function ‘int main(int, char**)’:
aprsd.cpp:732: error: ‘cout’ was not declared in this scope aprsd.cpp:942: error: ‘cerr’ was not declared in this scope aprsd.cpp:976: error: ‘cerr’ was not declared in this scope aprsd.cpp:980: error: ‘cerr’ was not declared in this scope make[2]: *** [aprsd.o] Erreur 1
I would appreciate any help for compiling aprsd.
73 de Bernard, f6bvp
-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Error compiling aprsd-2.2.6-4 from CVS
Quoted 9 lines · Bernard Pidoux
I removed extra ';' on line 185 of src/refcount.hpp and also replaced in all concerned files
#include <iostream>
by
#include <sstream>aprsd.cpp: In function ?void
serverQuit()?:
aprsd.cpp:139: error: ?cout? was not declared in this scope
If you look at the header files you'll see that things like "cout" and "cerr" are defined in iostream and don't exist in sstream.
On my system I'm looking in /usr/include/c++/4.0.2/iostream and SAMEPATH/sstream.
So... Replacing the include files as you did appears to have created a new problem. Change them back and you'll at least be closer to succeeding.
--
Curt, WE7U. APRS Client Comparisons: http://www.eskimo.com/~archer
"Lotto: A tax on people who are bad at math." -- unknown
"Windows: Microsoft's tax on computer illiterates." -- WE7U "The world DOES revolve around me: I picked the coordinate system!"
Re: Error compiling aprsd-2.2.6-4 from CVS
In reply to Bernard PidouxQuoted 6 lines · Bernard Pidoux
Hi All,
In aprsd directory captured from CVS sourceforge (aprsd-2.2.6-4) I changed
boostrap.shfile permission to a+x and ran the script. It built configure script and then I was able to run ./configure and make.
...
I looked at configure.log file and found some error report that could be interesting for aprsd developpers.
I will report here only the errors or warnings lines :
-----------------------
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake.
It was created by aprsd configure 2.2.6-4, which was generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure
...
configure:2351: g++ -c -g -O2 conftest.cc >&5 conftest.cc: In function 'int main()':
conftest.cc:17: error: 'exit' was not declared in this scope
...
configure:3157: gcc -c -g -O2 conftest.c >&5 conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
...
configure:3642: gcc -E conftest.c
conftest.c:18:28: error: ac_nonexistent.h: No such file or directory
...
configure:3749: gcc -E conftest.c
conftest.c:18:28: error: ac_nonexistent.h: No such file or directory
...
configure:3947: gcc -o conftest -g -O2 conftest.c -lcrypt -lpthread >&5conftest.c: In function 'main':
conftest.c:35: warning: incompatible implicit declaration of built-in function 'exit'
...
configure:5613: gcc -c -g -O2 conftest.c >&5 conftest.c:85:19: error: vfork.h: No such file or directory
...
configure:5656: gcc -E conftest.c conftest.c:51:19: error: vfork.h: No such file or directory
...
configure:5742: checking for fork
configure:5799: gcc -o conftest -g -O2 conftest.c -lcrypt -lpthread
-lax25 >&5
conftest.c:75: warning: conflicting types for built-in function 'fork'
73 de bernard, f6bvp
Re: Error compiling aprsd-2.2.6-4 from CVS
Quoted 3 lines · Bernard Pidoux
I looked at configure.log file and found some error report that could be interesting for aprsd developpers.
I will report here only the errors or warnings lines :
Problem is: Some of these may be standard tests looking for different flavors of functions to use, so some errors might be expected. I find it's best to ignore most of them in that file except for the particular problems you're trying to solve. The rest are wild goose chases.
For instance in Xastir we look for GraphicsMagick first and then ImageMagick if GM is not found. Each one of these might check check multiple locations for the headers and then the libraries, then some executables. Failures at any one of these don't mean that we have a real error or that the package was not found. It just means the attempt failed, but a later one may succeed.
What fun huh?
--
Curt, WE7U. APRS Client Comparisons: http://www.eskimo.com/~archer
"Lotto: A tax on people who are bad at math." -- unknown
"Windows: Microsoft's tax on computer illiterates." -- WE7U "The world DOES revolve around me: I picked the coordinate system!"
Re: Error compiling aprsd-2.2.5-15
In reply to Bernard PidouxQuoted 6 lines · Bernard Pidoux
Is aprsd-2.2.5-15.tar.gz the last available source for aprsd ?
I did ./configure without problem but got g++ warning and the following error :
deprecated header <
iostream.h>. To disable this warning use -Wno-deprecated.
That's a separate warning.
Quoted 2 lines
aprsString.h:199: error: extra qualification ?aprsd::aprsString::? on member ?getMsgText?
That's probably caused by
void aprsString::getMsgText(string& msg);
in aprsString.h within the class definition. Remove the 'aprsString::' prefix from that line and it should work. There are probably others around the source tree too.
Hamish
Signature · 1 line
Hamish Moffatt VK3SB <[email protected]> <[email protected]>
Re: Error compiling aprsd-2.2.6-4 from CVS
In reply to Bernard PidouxQuoted 3 lines · Bernard Pidoux
I looked at configure.log file and found some error report that could be interesting for aprsd developpers.
I will report here only the errors or warnings lines :
That's how autoconf works - it compiles various test programs to see what header files and libraries are required to access certain OS functions. Errors are perfectly normal. You only have a problem if configure ends in failure.
Hamish
Signature · 1 line
Hamish Moffatt VK3SB <[email protected]> <[email protected]>
Re: Error compiling aprsd-2.2.5-15
In reply to Bernard PidouxQuoted 8 lines · Bernard Pidoux
I did ./configure without problem but got g++ warning and the following
error :deprecated header <
iostream.h>. To disable this warning use -Wno- deprecated.
aprsString.h:199: error: extra qualification ‘aprsd::aprsString::’ on member ‘getMsgText’
If you don't want to update the aprsd source, an easy way out is to install an older version of g++. Many linux distributions keep an old gcc 3.4.x era g++ (which can be installed alongside the current release) around for just such occasions.
Signature · 9 lines
Jim Tittsler ZL2IA/AI8A Gisborne GPG: 0x01159DB6
http://www.qsl.net/7j1ajh/ QRP/Satellites/APRS
AMSAT/NZART
-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html