Package: necpp Version: 1.3.0+cvs20090101-1 Severity: normal In attempting to use the example test_cpp.cpp provided in this source package, using the provided makefile for the compilation, I encountered two errors as shown below. The "set_results_stdout" error seems to be an unavailable function in this package. I resolved this by commenting out the relevant line. Next, the "config.h" error is due to a missing config.h file that is automatically generated (probably) during package compilation. That is, this file should also be included into this distribution package.
Compilation log: cd ~/UserDir/Tmp/NECPP/Src/necpp-1.3.0+cvs20090101/example/ make -k g++ -I ../src/ -O3 -c -o test_cpp.o test_cpp.cpp test_cpp.cpp: In function ‘int main(int, char**)’: test_cpp.cpp:39: error: ‘class nec_context’ has no member named ‘set_results_stdout’ make: *** [test_cpp.o] Error 1 g++ -I ../src/ -O3 -c -o ../src/c_ggrid.o ../src/c_ggrid.cpp g++ -I ../src/ -O3 -c -o ../src/matrix_algebra.o ../src/matrix_algebra.cpp .../src/matrix_algebra.cpp:213:20: error: config.h: No such file or directory make: *** [../src/matrix_algebra.o] Error 1 g++ -I ../src/ -O3 -c -o ../src/nec_ground.o ../src/nec_ground.cpp g++ -I ../src/ -O3 -c -o ../src/c_evlcom.o ../src/c_evlcom.cpp g++ -I ../src/ -O3 -c -o ../src/c_plot_card.o ../src/c_plot_card.cpp g++ -I ../src/ -O3 -c -o ../src/misc.o ../src/misc.cpp g++ -I ../src/ -O3 -c -o ../src/nec_context.o ../src/nec_context.cpp .../src/nec_context.cpp:2640:5: warning: #warning weird problem to test here. replaced loop variable called ip g++ -I ../src/ -O3 -c -o ../src/nec_output.o ../src/nec_output.cpp g++ -I ../src/ -O3 -c -o ../src/c_geometry.o ../src/c_geometry.cpp g++ -I ../src/ -O3 -c -o ../src/nec_exception.o ../src/nec_exception.cpp g++ -I ../src/ -O3 -c -o ../src/nec_radiation_pattern.o ../src/nec_radiation_pattern.cpp g++ -I ../src/ -O3 -c -o ../src/nec_structure_currents.o ../src/nec_structure_currents.cpp make: Target `test_cpp' not remade because of errors. Compilation exited abnormally with code 2 at Wed Jul 29 11:15:53 -- System Information: Debian Release: 5.0.3 APT prefers proposed-updates APT policy: (500, 'proposed-updates'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages necpp depends on: ii libc6 2.7-18 GNU C Library: Shared libraries ii libgcc1 1:4.3.2-1.1 GCC support library ii libnecpp0 1.3.0+cvs20090101-1 library to use NEC2++ ii libstdc++6 4.3.2-1.1 The GNU Standard C++ Library v3 necpp recommends no packages. necpp suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org