Csound Csound-dev Csound-tekno Search About

[Cs-dev] minor issue

Date2014-08-02 17:58
Fromjohn ffitch
Subject[Cs-dev] minor issue
When I try to build I get

Linking CXX executable ../csdebugger
cd /home/jpff/Sourceforge/csound/New/csound6/frontends && /usr/bin/cmake -E cmake_link_script CMakeFiles/csdebugger.dir/link.txt --verbose=1
/usr/bin/c++    -ffast-math -mfpmath=sse -msse2 -fomit-frame-pointer -DHAVE_ATOMIC_BUILTIN -fopenmp -g    CMakeFiles/csdebugger.dir/debugger/csdebugger.cpp.o  -o ../csdebugger -rdynamic ../libcsound64.so.6.0 -lpthread -Wl,-rpath,/home/jpff/Sourceforge/csound/New/csound6 
../libcsound64.so.6.0: undefined reference to `csound_scoset_extra'
../libcsound64.so.6.0: undefined reference to `csound_scodebug'
../libcsound64.so.6.0: undefined reference to `csound_prsset_extra'
../libcsound64.so.6.0: undefined reference to `csound_scoparse'
../libcsound64.so.6.0: undefined reference to `csound_sco_scan_buffer'
../libcsound64.so.6.0: undefined reference to `csound_prslex_destroy'
../libcsound64.so.6.0: undefined reference to `csound_scolex_init'
../libcsound64.so.6.0: undefined reference to `csound_prslex'
../libcsound64.so.6.0: undefined reference to `csound_prslex_init'
collect2: error: ld returned 1 exit status

suggested that the linking of csdebugger is missing some code,
especially the sore-parser stuff.  It was working recently
==John ffitch

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-08-02 23:22
FromAndres Cabrera
SubjectRe: [Cs-dev] minor issue
AttachmentsNone  None  
Weird. Are you sure that's not a remnant from a previous build?

From what I see, csdebugger links to the same libraries as the csound command line application:

make_executable(csound-bin "${CS_MAIN_SRCS}" "${CSOUNDLIB}" csound)

make_executable(csdebugger debugger/csdebugger.cpp "${CSOUNDLIB}")

Cheers,
Andrés


On Sat, Aug 2, 2014 at 11:58 AM, john ffitch <jpff@codemist.co.uk> wrote:
When I try to build I get

Linking CXX executable ../csdebugger
cd /home/jpff/Sourceforge/csound/New/csound6/frontends && /usr/bin/cmake -E cmake_link_script CMakeFiles/csdebugger.dir/link.txt --verbose=1
/usr/bin/c++    -ffast-math -mfpmath=sse -msse2 -fomit-frame-pointer -DHAVE_ATOMIC_BUILTIN -fopenmp -g    CMakeFiles/csdebugger.dir/debugger/csdebugger.cpp.o  -o ../csdebugger -rdynamic ../libcsound64.so.6.0 -lpthread -Wl,-rpath,/home/jpff/Sourceforge/csound/New/csound6
../libcsound64.so.6.0: undefined reference to `csound_scoset_extra'
../libcsound64.so.6.0: undefined reference to `csound_scodebug'
../libcsound64.so.6.0: undefined reference to `csound_prsset_extra'
../libcsound64.so.6.0: undefined reference to `csound_scoparse'
../libcsound64.so.6.0: undefined reference to `csound_sco_scan_buffer'
../libcsound64.so.6.0: undefined reference to `csound_prslex_destroy'
../libcsound64.so.6.0: undefined reference to `csound_scolex_init'
../libcsound64.so.6.0: undefined reference to `csound_prslex'
../libcsound64.so.6.0: undefined reference to `csound_prslex_init'
collect2: error: ld returned 1 exit status

suggested that the linking of csdebugger is missing some code,
especially the sore-parser stuff.  It was working recently
==John ffitch

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel