[flext] Build errors on linux

Tim Greiser tgreiser at gmail.com
Thu Mar 14 03:38:18 CET 2019


On a linux VM - 18.04 Ubuntu 64 trying to build latest flext from github.
g++ (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0

I have compiled pure-data and STK and SNDOBJ is commented out.

$ ./build.sh pd gcc
make -f ./buildsys/gnumake-sub.mak  PLATFORM=lnx RTSYS=pd COMPILER=gcc
BUILDPATH=./buildsys/ PKGINFO=package.txt BUILDCLASS=flext
USRCONFIG=config.txt USRMAKE=build/gnumake-lnx-gcc.inc TARGETMODE=release
TARGETTYPE=single _build_
make[1]: Entering directory '/home/tgreiser/flext'
mkdir -p pd-linux/release-single/
g++ -c  -ffast-math -DFLEXT_USE_CMEM -O3 -mtune=native  -I/usr/include/pd
-pthread -fPIC -fvisibility-inlines-hidden -DFLEXT_USE_SIMD -DNDEBUG
-DFLEXT_EXPORTS -DFLEXT_SYS=2 -DPD -I/home/tgreiser/pure-data/src
-I/home/tgreiser/pure-data/include -I/home/tgreiser/pure-data/include/pd
-I/home/tgreiser/stk-4.6.0/include/ source/flsupport.cpp -o
pd-linux/release-single/flsupport.opp
source/flsupport.cpp:261:34: error: expected initializer before ‘NEWTHROW’
 void *operator new(size_t bytes) NEWTHROW
                                  ^~~~~~~~
source/flsupport.cpp:265:33: error: expected initializer before ‘DELTHROW’
 void operator delete(void *blk) DELTHROW
                                 ^~~~~~~~
source/flsupport.cpp:271:36: error: expected initializer before ‘NEWTHROW’
 void *operator new[](size_t bytes) NEWTHROW
                                    ^~~~~~~~
source/flsupport.cpp:275:35: error: expected initializer before ‘DELTHROW’
 void operator delete[](void *blk) DELTHROW
                                   ^~~~~~~~
buildsys/lnx/gnumake-gcc-flext.inc:24: recipe for target
'pd-linux/release-single/flsupport.opp' failed
make[1]: *** [pd-linux/release-single/flsupport.opp] Error 1
make[1]: Leaving directory '/home/tgreiser/flext'
buildsys/targets.inc:62: recipe for target 'build-release-single' failed
make: *** [build-release-single] Error 2

Any suggestions appreciated,
Tim.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://grrrr.org/pipermail/flext/attachments/20190313/5fded67e/attachment.html>


More information about the flext mailing list