[flext] Build errors on linux

Jean-Yves Gratius jyg at gumo.fr
Thu Mar 14 09:28:23 CET 2019


Hi Tim,
I had the same problem

in flext/buildsys/config-lnx-pd-gcc.txt I had to comment the following  
line (55):
#UFLAGS+=-DFLEXT_USE_CMEM
I still get lots of warnings but it builds (using the build.sh script)
However, I am no sure this is a good solution and wanted to submit this 
to the list.

jean-Yves


On 14/03/2019 03:38, Tim Greiser wrote:
> 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.
>
> _______________________________________________
> https://grrrr.org/ext/flext
>
> flext mailing list
> flext at grrrr.org
> https://grrrr.org/cgi-bin/mailman/listinfo/flext


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://grrrr.org/pipermail/flext/attachments/20190314/d93e887f/attachment.html>


More information about the flext mailing list