Page 1 of 1

lscp_shell_reference.cpp:1992:30: error: stray '\' in progra

PostPosted: Sun Mar 25, 2018 4:28 pm
by guysoft
Hey all,
I am from the Zynthian project,
And we had successful builds of lscp before, but now the build fails with this error.

Bug report in zynthian-sys:

Last successful build log: ... onsoleFull

Current failing build log: ... tml#ERROR1

Code: Select all
lscp_shell_reference.cpp:120:33: error: missing terminating " character
lscp_shell_reference.cpp:959:149: warning: missing terminating " character
       "CE INFO <effect-instance>\n\nWhere <effect-instance> is the numeri    "this setting defines the audio channel routing to that effect instance"
lscp_shell_reference.cpp:959:149: error: missing terminating " character
lscp_shell_reference.cpp:120:2: error: expected '}' before 'uctures'
  uctures, so both applications c"
lscp_shell_reference.cpp:120:2: error: expected '}' before 'uctures'
lscp_shell_reference.cpp:120:2: error: expected ',' or ';' before 'uctures'
lscp_shell_reference.cpp:131:5: error: expected declaration before '}' token
Makefile:448: recipe for target 'lscp_shell_reference.lo' failed
make[3]: *** [lscp_shell_reference.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include/libgig -Wreturn-type -ffast-math -mcpu=cortex-a7 -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mvectorize-with-neon-quad -pthread -MT lscpevent.lo -MD -MP -MF .deps/lscpevent.Tpo -c lscpevent.cpp -o lscpevent.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include/libgig -Wreturn-type -ffast-math -mcpu=cortex-a7 -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mvectorize-with-neon-quad -pthread -MT lscpserver.lo -MD -MP -MF .deps/lscpserver.Tpo -c lscpserver.cpp -o lscpserver.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include/libgig -Wreturn-type -ffast-math -mcpu=cortex-a7 -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mvectorize-with-neon-quad -pthread -MT lscpparser.lo -MD -MP -MF .deps/lscpparser.Tpo -c lscpparser.cpp -o lscpparser.o >/dev/null 2>&1
make[3]: Leaving directory '/home/pi/zynthian-sw/linuxsampler/src/network'
Makefile:689: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/pi/zynthian-sw/linuxsampler/src'
Makefile:509: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/pi/zynthian-sw/linuxsampler'
Makefile:414: recipe for target 'all' failed
make: *** [all] Error 2

Any insight to what is going on would be helpful,

Re: lscp_shell_reference.cpp:1992:30: error: stray '\' in pr

PostPosted: Wed May 02, 2018 8:24 pm
by guysoft
So this thing is comming and going in our nightly builds, which is strange.
I went away the last two weeks and came up again two days ago.

Can anyone at least point me how to debug this?

Re: lscp_shell_reference.cpp:1992:30: error: stray '\' in pr

PostPosted: Thu Dec 13, 2018 6:34 pm
by cuse
Would not to see the actual erroneous file. Hard to guess from just seeing the error message.

Next time better use the developer maling list for such issues.