Skip to content

Sigmet2Dsr is not wired to the build anymore #144

Description

@ohmer

Hi there,

Working for a national weather service, I am tasked with upgrading our TITAN setup. I am new to meteorology business but do have extensive experience in IT.

I was able to build the software on a clean Ubuntu 24 thanks to scripts in the lrose-bootstrap repository. Our project directory uses the Sigmet2Dsr program which has been excluded from compilation years ago in:

I reverted these changes in a fork (master...MetServiceDev:lrose-core:master) but failed to make Sigmet2Dsr compile again. For reasons I can't explain, it fails to link:

[ 55%] Linking CXX executable Sigmet2Dsr
cd /home/ubuntu/build/lrose-core/cmake_build_dir/codebase/apps/ingest/src/Sigmet2Dsr && /usr/bin/cmake -E cmake_link_script CMakeFiles/Sigmet2Dsr.dir/link.txt --verbose=1
/usr/bin/c++  -fPIC -std=c++17  -DNO_JASPER_LIB  -Wl,--enable-new-dtags -L/opt/lrose/lib CMakeFiles/Sigmet2Dsr.dir/Params.cc.o CMakeFiles/Sigmet2Dsr.dir/Main.cc.o CMakeFiles/Sigmet2Dsr.dir/Args.cc.o CMakeFiles/Sigmet2Dsr.dir/Sigmet2Dsr.cc.o -o Sigmet2Dsr   -L/usr/lib/x86_64-linux-gnu/hdf5/serial  -L/usr/local/lib  -Wl,-rpath,/opt/lrose/lib:/usr/lib/x86_64-linux-gnu/hdf5/serial:/usr/local/lib ../../../../libs/Fmq/src/libFmq.so ../../../../libs/trmm_rsl/src/libtrmm_rsl.so ../../../../libs/dsserver/src/libdsserver.so ../../../../libs/didss/src/libdidss.so ../../../../libs/rapformats/src/librapformats.so ../../../../libs/euclid/src/libeuclid.so ../../../../libs/rapmath/src/librapmath.so ../../../../libs/toolsa/src/libtoolsa.so -lpthread ../../../../libs/dataport/src/libdataport.so ../../../../libs/tdrp/src/libtdrp.so ../../../../libs/physics/src/libphysics.so -lbz2 -lz
/usr/bin/ld: ../../../../libs/trmm_rsl/src/libtrmm_rsl.so: undefined reference to `yywrap'
collect2: error: ld returned 1 exit status
make[2]: *** [codebase/apps/ingest/src/Sigmet2Dsr/CMakeFiles/Sigmet2Dsr.dir/build.make:163: codebase/apps/ingest/src/Sigmet2Dsr/Sigmet2Dsr] Error 1
make[2]: Leaving directory '/home/ubuntu/build/lrose-core/cmake_build_dir'
make[1]: *** [CMakeFiles/Makefile2:16576: codebase/apps/ingest/src/Sigmet2Dsr/CMakeFiles/Sigmet2Dsr.dir/all] Error 2
make[1]: Leaving directory '/home/ubuntu/build/lrose-core/cmake_build_dir'
make: *** [Makefile:136: all] Error 2

Has someone managed to restore Sigmet2Dsr compilation? Does anyone know other ways to ingest SIGMETs (our only option for now unfortunately)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions