From: Bernard Pidoux <pidoux@ccr.jussieu.fr>
To: linux-hams@vger.kernel.org
Subject: Error compiling aprsd-2.2.6-4 from CVS
Date: Tue, 17 Apr 2007 18:52:47 +0200 [thread overview]
Message-ID: <4624FB5F.1030508@ccr.jussieu.fr> (raw)
In-Reply-To: <4624D993.1060006@ccr.jussieu.fr>
Hi 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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2007-04-17 16:52 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-13 11:55 [NET] AX.25 Kconfig and docs updates and fixes Ralf Baechle
2007-03-24 19:54 ` David Miller
2007-04-17 14:28 ` Error compiling aprsd-2.2.5-15 Bernard Pidoux
2007-04-17 16:08 ` Curt, WE7U
2007-04-17 16:52 ` Bernard Pidoux [this message]
2007-04-17 17:25 ` Error compiling aprsd-2.2.6-4 from CVS Curt, WE7U
2007-04-17 17:36 ` Bernard Pidoux
2007-04-17 17:57 ` Curt, WE7U
2007-04-17 22:14 ` Hamish Moffatt
2007-04-17 22:13 ` Error compiling aprsd-2.2.5-15 Hamish Moffatt
2007-04-17 23:40 ` Jim Tittsler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4624FB5F.1030508@ccr.jussieu.fr \
--to=pidoux@ccr.jussieu.fr \
--cc=linux-hams@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox