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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to