Skip to content

Build fails: undefined reference to `ORServer::Class()' #8

@zykure

Description

@zykure

I'm getting the following build error using latest master branch. I'm using ROOT 6.24 with Clang 14 on Linux.

Any ideas what's going on? To me it looks like an issue with ROOT class structures.

[1/20] Linking CXX executable getHeaderInRootFile
FAILED: getHeaderInRootFile 
: && /usr/bin/clang++  -rdynamic CMakeFiles/getHeaderInRootFile.dir/Applications/getHeaderInRootFile.cc.o -o getHeaderInRootFile -L/home/jbehrens/root/rootbuild/lib -Wl,-rpath,/home/jbehrens/root/rootbuild/lib:/home/jbehrens/workspace/OrcaRoot.git/build:  libOrcaRoot.so  -L/home/jbehrens/root/rootbuild/lib -lGui -lCore -lImt -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lROOTVecOps -lTree -lTreePlayer -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -lROOTDataFrame -pthread -lm -ldl -rdynamic  /home/jbehrens/root/rootbuild/lib/libXMLParser.so && :
/usr/bin/ld: libOrcaRoot.so: undefined reference to `ORServer::Class()'
/usr/bin/ld: libOrcaRoot.so: undefined reference to `ORServer::Streamer(TBuffer&)'
clang-14: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.

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