compile problem

knarf
knarf
Joined: 11 Mar 05
Posts: 4
Credit: 1389706
RAC: 0
Topic 188521

Hi,

because I want to use an Alpha and there is no client
for it, I used the 'eah_build-0001.sh' script to build all from source, which went through steps 1 to 5 without problems.

In step however I get the following error messages, which indicate, that the symbol 'boinc_set_signal_handler' is undefined and not found while linking. However the linkline specifies '-L/afs/aei-potsdam.mpg.de/u/knarf/lin_files/alpha_linux_24/boinc/e_at_h/EaH_build/extra_install/lib' and '-l boinc' and in that directory there is a libboinc.a containing:

0000000000000270 T boinc_set_signal_handler(int, void (*)(int)) 0000000000000310 T boinc_set_signal_handler_force(int, void (*)(int))

Has anyone of the build wizzards an idea what the problem could be?

I can provide the build log if this would be helpful.

thanks, Frank

The problematic command:

g++-3.0 -g -O2 -pthread -L/afs/aei-potsdam.mpg.de/u/knarf/lin_files/alpha_linux_24/boinc/e_at_h/EaH_build/extra_install/lib -L/afs/aei-potsdam.mpg.de/u/knarf/lin_files/alpha_linux_24/boinc/e_at_h/EaH_sources/aux_install/lib -L/afs/aei-potsdam.mpg.de/u/knarf/lin_files/alpha_linux_24/boinc/e_at_h/EaH_build/extra_install/lib -o cfsBOINC cfsBOINC-lalapps.o cfsBOINC-ComputeFStatistic.o cfsBOINC-clusters.o cfsBOINC-DopplerScan.o cfsBOINC-NeighboringGridPoints.o cfsBOINC-uberpolka.o -L/afs/aei-potsdam.mpg.de/u/knarf/lin_files/alpha_linux_24/boinc/e_at_h/EaH_build/extra_install/lib -llalsupport -llal -lboinc_zip -lboinc_api -lboinc -ldl -lm
cfsBOINC-ComputeFStatistic.o:/afs/aei-potsdam.mpg.de/u/knarf/lin_files/alpha_linux_24/boinc/e_at_h/EaH_build/extra_sources/lalapps-CVS/src/pulsar/FDS_isolated/ComputeFStatistic.c:3099: undefined reference to `boinc_set_signal_handler'
cfsBOINC-ComputeFStatistic.o:/afs/aei-potsdam.mpg.de/u/knarf/lin_files/alpha_linux_24/boinc/e_at_h/EaH_build/extra_sources/lalapps-CVS/src/pulsar/FDS_isolated/ComputeFStatistic.c:3099: undefined reference to `boinc_set_signal_handler'
cfsBOINC-ComputeFStatistic.o:/afs/aei-potsdam.mpg.de/u/knarf/lin_files/alpha_linux_24/boinc/e_at_h/EaH_build/extra_sources/lalapps-CVS/src/pulsar/FDS_isolated/ComputeFStatistic.c:3100: undefined reference to `boinc_set_signal_handler'
cfsBOINC-ComputeFStatistic.o:/afs/aei-potsdam.mpg.de/u/knarf/lin_files/alpha_linux_24/boinc/e_at_h/EaH_build/extra_sources/lalapps-CVS/src/pulsar/FDS_isolated/ComputeFStatistic.c:3100: undefined reference to `boinc_set_signal_handler'
cfsBOINC-ComputeFStatistic.o:/afs/aei-potsdam.mpg.de/u/knarf/lin_files/alpha_linux_24/boinc/e_at_h/EaH_build/extra_sources/lalapps-CVS/src/pulsar/FDS_isolated/ComputeFStatistic.c:3101: undefined reference to `boinc_set_signal_handler'
cfsBOINC-ComputeFStatistic.o:/afs/aei-potsdam.mpg.de/u/knarf/lin_files/alpha_linux_24/boinc/e_at_h/EaH_build/extra_sources/lalapps-CVS/src/pulsar/FDS_isolated/ComputeFStatistic.c:3101: more undefined references to `boinc_set_signal_handler' follow
collect2: ld returned 1 exit status