I am new to fdtd. Just to use Meep and MPB, I installed linux on my computer. I have no problems with MPB. However with MEEP 0.9, it asks for libctl 3 or later. When I run ./configure, it goes fine without errors. But when I run make I get the following error. Please advise me on what I should do.
sudo make
make all-recursive
make[1]: Entering directory `/home/ananth/Desktop/libctl-3.0.1'
Making all in src
make[2]: Entering directory `/home/ananth/Desktop/libctl-3.0.1/src'
make all-am
make[3]: Entering directory `/home/ananth/Desktop/libctl-3.0.1/src'
make[3]: Leaving directory `/home/ananth/Desktop/libctl-3.0.1/src'
make[2]: Leaving directory `/home/ananth/Desktop/libctl-3.0.1/src'
Making all in utils
make[2]: Entering directory `/home/ananth/Desktop/libctl-3.0.1/utils'
make all-am
make[3]: Entering directory `/home/ananth/Desktop/libctl-3.0.1/utils'
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o geomtst geomtst.o libctlgeom.la ../src/libctl.la -lguile -lguile-ltdl -lqthreads -lpthread -lcrypt -lm
gcc -g -O2 -o geomtst geomtst.o ./.libs/libctlgeom.a ../src/.libs/libctl.a /usr/lib/libguile.so /usr/lib/libguile-ltdl.so -ldl /usr/lib/libqthreads.so -lpthread -lcrypt -lm
../src/.libs/libctl.a(ctl.o):(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
../src/.libs/libctl.a(integrator.o):(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
../src/.libs/libctl.a(subplex.o): In function `dist_':
/home/ananth/Desktop/libctl-3.0.1/src/subplex.c:484: undefined reference to `sqrt(double)'
/home/ananth/Desktop/libctl-3.0.1/src/subplex.c:484: undefined reference to `sqrt(double)'
../src/.libs/libctl.a(subplex.o): In function `fstats_':
/home/ananth/Desktop/libctl-3.0.1/src/subplex.c:1138: undefined reference to `sqrt(double)'
../src/.libs/libctl.a(subplex.o):(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
make[3]: *** [geomtst] Error 1
make[3]: Leaving directory `/home/ananth/Desktop/libctl-3.0.1/utils'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/ananth/Desktop/libctl-3.0.1/utils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ananth/Desktop/libctl-3.0.1'
make: *** [all] Error 2
Ananth Krishnan
_______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

