I am running Gentoo with the 2.6.10 kernel. When I try
to make hf 0.7 using gcc
3.4.3 I get this:
Making all in mt63
make[3]: Entering directory
`/home/mslinn/downloads/hf/hf-0.7/hfkernel/mt63'
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../hfkernel
-I../../hfkernel/l1 -I../../hfkernel/fsk
-I../../hfkernel/mt63 -g -O2 -c dsp.cc
In file included from dsp.cc:32:
dsp.h: In function `void LowPass2(typeInp,
LowPass2elem&, typeW, typeW, typeW)':
dsp.h:558: error: `Out' undeclared (first use this
function)
dsp.h:558: error: (Each undeclared identifier is
reported only once for each function it appears in.)
dsp.h: In function `void LowPass2(typeInp,
LowPass2elem&, LowPass2weight&)':
dsp.h:565: error: `Weigth' undeclared (first use this
function)
dsp.h:566: error: `Out' undeclared (first use this
function)
make[3]: *** [dsp.o] Error 1
make[3]: Leaving directory
`/home/mslinn/downloads/hf/hf-0.7/hfkernel/mt63'
When I make with gcc 3.3.4 I get this:
gcc -g -O2 -Wall -o hfkernel main.o msg.o
mt63hflink.o ./l1/libl1.a ./fsk/libfsk.a
./mt63/libmt63.a -lpthread -lm
./mt63/libmt63.a(mt63hf.o)(.eh_frame+0x11): undefined
reference to `__gxx_personality_v0'
./mt63/libmt63.a(dsp.o)(.eh_frame+0x12): undefined
reference to `__gxx_personality_v0'
./mt63/libmt63.a(mt63.o)(.eh_frame+0x12): undefined
reference to `__gxx_personality_v0'
./mt63/libmt63.a(sound.o)(.eh_frame+0x11): undefined
reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
make[3]: *** [hfkernel] Error 1
make[3]: Leaving directory
`/home/mslinn/downloads/hf/hf-0.7/hfkernel'
Any suggestions on how I can make the program?
Mike
KG6LDE
Logged In: YES
user_id=1216822
Yes, gcc needs a c++ library for the MT63 software. Add
this line to the "Defaults" section of the "configure" file...
LDFLAGS="-stdc++"
Alternatively, you can invoke the configure script on the
same line with the parameter declaration thusly -
$ LDFLAGS="-stdc++" ./configure
Either way works.
Logged In: YES
user_id=1216822
*** CORRECTED COMMENT *** CORRECTED COMMENT ***
Yes, gcc needs a c++ library for the MT63 software. Add
this line to the "Defaults" section of the "configure" file...
LDFLAGS="-lstdc++"
Alternatively, you can invoke the configure script on the
same line with the parameter declaration thusly -
$ LDFLAGS="-lstdc++" ./configure
Either way works.
Logged In: YES
user_id=156128
I get the same error as before with both compilers when I do
the following:
make clean:
LDFLAGS="-lstdc++" ./configure
make
dsp.h: In function `void LowPass2(typeInp, LowPass2elem&,
LowPass2weight&)':
dsp.h:565: error: `Weigth' undeclared (first use this function)
I can see that Weigth is mis-spelt on line 565. Not sure
what the problem is on
Line 566 with Out.
BTW, when I add the following as line 13 to configure:
LDFLAGS="-lstdc++"
I get:
configure: error: installation or configuration problem: C
compiler cannot create executables.
Mike
Logged In: YES
user_id=156128
I get the same error as before with both compilers when I do
the following:
make clean:
LDFLAGS="-lstdc++" ./configure
make
dsp.h: In function `void LowPass2(typeInp, LowPass2elem&,
LowPass2weight&)':
dsp.h:565: error: `Weigth' undeclared (first use this function)
I can see that Weigth is mis-spelt on line 565. Not sure
what the problem is on
Line 566 with Out.
When I add the following as line 13 to configure:
LDFLAGS="-lstdc++"
I get:
configure: error: installation or configuration problem: C
compiler cannot create executables.
Mike