Open lucasw opened 6 years ago
This is what the automake make is doing:
Making all in rotozoommodule
make[4]: Entering directory '/home/lucasw/own/github/build_gephex/modules/src/rotozoommodule'
python ../../../../gephex/modules/src/rotozoommodule/../../pluc.py h ../../../../gephex/modules/src/rotozoommodule/rotozoommodule.spec
Writing header to rotozoommodule.h
python ../../../../gephex/modules/src/rotozoommodule/../../pluc.py c ../../../../gephex/modules/src/rotozoommodule/rotozoommodule.spec
Writing cfile to rotozoommodule_auto.c
/bin/bash ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../gephex/modules/src/rotozoommodule -I../../.. -I../../../../gephex/modules/src/rotozoommodule/../../../engine/src/engine -I../../../../gephex/modules/src/rotozoommodule/../../../util/include -I../../../../gephex/modules/src/rotozoommodule/../../../util/src/libgeo -I../../../../gephex/modules/src/rotozoommodule/../../../types/src/numbertype -I../../../../gephex/modules/src/rotozoommodule/../../../types/src/stringtype -I../../../../gephex/modules/src/rotozoommodule/../../../types/src/framebuffertype -I../../../../gephex/modules/src/rotozoommodule/../../../types/src/positiontype -g -O2 -MT rotozoommodule_auto.lo -MD -MP -MF .deps/rotozoommodule_auto.Tpo -c -o rotozoommodule_auto.lo rotozoommodule_auto.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../gephex/modules/src/rotozoommodule -I../../.. -I../../../../gephex/modules/src/rotozoommodule/../../../engine/src/engine -I../../../../gephex/modules/src/rotozoommodule/../../../util/include -I../../../../gephex/modules/src/rotozoommodule/../../../util/src/libgeo -I../../../../gephex/modules/src/rotozoommodule/../../../types/src/numbertype -I../../../../gephex/modules/src/rotozoommodule/../../../types/src/stringtype -I../../../../gephex/modules/src/rotozoommodule/../../../types/src/framebuffertype -I../../../../gephex/modules/src/rotozoommodule/../../../types/src/positiontype -g -O2 -MT rotozoommodule_auto.lo -MD -MP -MF .deps/rotozoommodule_auto.Tpo -c rotozoommodule_auto.c -fPIC -DPIC -o .libs/rotozoommodule_auto.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../gephex/modules/src/rotozoommodule -I../../.. -I../../../../gephex/modules/src/rotozoommodule/../../../engine/src/engine -I../../../../gephex/modules/src/rotozoommodule/../../../util/include -I../../../../gephex/modules/src/rotozoommodule/../../../util/src/libgeo -I../../../../gephex/modules/src/rotozoommodule/../../../types/src/numbertype -I../../../../gephex/modules/src/rotozoommodule/../../../types/src/stringtype -I../../../../gephex/modules/src/rotozoommodule/../../../types/src/framebuffertype -I../../../../gephex/modules/src/rotozoommodule/../../../types/src/positiontype -g -O2 -MT rotozoommodule_auto.lo -MD -MP -MF .deps/rotozoommodule_auto.Tpo -c rotozoommodule_auto.c -o rotozoommodule_auto.o >/dev/null 2>&1
mv -f .deps/rotozoommodule_auto.Tpo .deps/rotozoommodule_auto.Plo
/bin/bash ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../gephex/modules/src/rotozoommodule -I../../.. -I../../../../gephex/modules/src/rotozoommodule/../../../engine/src/engine -I../../../../gephex/modules/src/rotozoommodule/../../../util/include -I../../../../gephex/modules/src/rotozoommodule/../../../util/src/libgeo -I../../../../gephex/modules/src/rotozoommodule/../../../types/src/numbertype -I../../../../gephex/modules/src/rotozoommodule/../../../types/src/stringtype -I../../../../gephex/modules/src/rotozoommodule/../../../types/src/framebuffertype -I../../../../gephex/modules/src/rotozoommodule/../../../types/src/positiontype -g -O2 -MT rotozoommodule.lo -MD -MP -MF .deps/rotozoommodule.Tpo -c -o rotozoommodule.lo ../../../../gephex/modules/src/rotozoommodule/rotozoommodule.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../gephex/modules/src/rotozoommodule -I../../.. -I../../../../gephex/modules/src/rotozoommodule/../../../engine/src/engine -I../../../../gephex/modules/src/rotozoommodule/../../../util/include -I../../../../gephex/modules/src/rotozoommodule/../../../util/src/libgeo -I../../../../gephex/modules/src/rotozoommodule/../../../types/src/numbertype -I../../../../gephex/modules/src/rotozoommodule/../../../types/src/stringtype -I../../../../gephex/modules/src/rotozoommodule/../../../types/src/framebuffertype -I../../../../gephex/modules/src/rotozoommodule/../../../types/src/positiontype -g -O2 -MT rotozoommodule.lo -MD -MP -MF .deps/rotozoommodule.Tpo -c ../../../../gephex/modules/src/rotozoommodule/rotozoommodule.c -fPIC -DPIC -o .libs/rotozoommodule.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../gephex/modules/src/rotozoommodule -I../../.. -I../../../../gephex/modules/src/rotozoommodule/../../../engine/src/engine -I../../../../gephex/modules/src/rotozoommodule/../../../util/include -I../../../../gephex/modules/src/rotozoommodule/../../../util/src/libgeo -I../../../../gephex/modules/src/rotozoommodule/../../../types/src/numbertype -I../../../../gephex/modules/src/rotozoommodule/../../../types/src/stringtype -I../../../../gephex/modules/src/rotozoommodule/../../../types/src/framebuffertype -I../../../../gephex/modules/src/rotozoommodule/../../../types/src/positiontype -g -O2 -MT rotozoommodule.lo -MD -MP -MF .deps/rotozoommodule.Tpo -c ../../../../gephex/modules/src/rotozoommodule/rotozoommodule.c -o rotozoommodule.o >/dev/null 2>&1
mv -f .deps/rotozoommodule.Tpo .deps/rotozoommodule.Plo
/bin/bash ../../../libtool --tag=CC --mode=link gcc -g -O2 -module -avoid-version -o rotozoommodule.la -rpath /home/lucasw/other/install/lib/gephex-0.4/modules rotozoommodule_auto.lo rotozoommodule.lo -lgeo -L./../../../util/src/libgeo
libtool: link: gcc -shared -fPIC -DPIC .libs/rotozoommodule_auto.o .libs/rotozoommodule.o -lgeo -L./../../../util/src/libgeo -g -O2 -Wl,-soname -Wl,rotozoommodule.so -o .libs/rotozoommodule.so
libtool: link: ar cru .libs/rotozoommodule.a rotozoommodule_auto.o rotozoommodule.o
ar: `u' modifier ignored since `D' is the default (see `U')
libtool: link: ranlib .libs/rotozoommodule.a
libtool: link: ( cd ".libs" && rm -f "rotozoommodule.la" && ln -s "../rotozoommodule.la" "rotozoommodule.la" )
make[4]: Leaving directory '/home/lucasw/own/github/build_gephex/modules/src/rotozoommodule'
loading plugin /home/lucasw/other/install/lib/gephex-0.4/modules/librotozoommodule.so - FAIL (Could not load shared libraray '/home/lucasw/other/install/lib/gephex-0.4/modules/librotozoommodule.so': /home/lucasw/other/install/lib/gephex-0.4/modules/librotozoommodule.so: undefined symbol: cvt_to_fp)
@error@ [LoadModuleClass]:> loading plugin /home/lucasw/other/install/lib/gephex-0.4/modules/librotozoommodule.so - FAIL (Could not load shared libraray '/home/lucasw/other/install/lib/gephex-0.4/modules/librotozoommodule.so': /home/lucasw/other/install/lib/gephex-0.4/modules/librotozoommodule.so: undefined symbol: cvt_to_fp)
cvt_to_fp is inline in rotozoommodule.c - so why doesn't it work?
This seems like a huge task.
There are about 300 cpp files.
Lots of conditionally built code could be ignore initially.
Use the output of make to find how all the files are built.