Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Installation, Compiling and Running of theide » svn 11066 fails to compile, also 11062
svn 11066 fails to compile, also 11062 [message #48034] Fri, 12 May 2017 08:57 Go to next message
slashupp is currently offline  slashupp
Messages: 231
Registered: July 2009
Experienced Member
debian 8
gcc v 6.2.0

same error for both 11066 and 11062

"make" ouput-snippet:
[...]
g++ -c -x c++ -O3 -ffunction-sections -fdata-sections  -std=c++14 -I./ -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2  -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/include/glib-2.0 -I/usr/X11R6/lib/glib-2.0/include -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/cairo -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -DflagGCC -DflagSHARED -DflagPOSIX -DflagLINUX  plugin/pcre/lib.cpp -o _out/plugin/pcre/GCCMK-Gcc-Linux-Posix-Shared/lib.o
ar -sr _out/plugin/pcre/GCCMK-Gcc-Linux-Posix-Shared/pcre.a \
	_out/plugin/pcre/GCCMK-Gcc-Linux-Posix-Shared/RegExp.o \
	_out/plugin/pcre/GCCMK-Gcc-Linux-Posix-Shared/lib.o
ar: creating _out/plugin/pcre/GCCMK-Gcc-Linux-Posix-Shared/pcre.a
g++ -o "umk.out" -Wl,-s -L"/usr/X11R6/lib" -L"/usr/lib" -Wl,-O,2 -Wl,--gc-sections  -Wl,--start-group  \
	_out/umk/GCCMK-Gcc-Linux-Main-Posix-Shared/Console.o \
	_out/umk/GCCMK-Gcc-Linux-Main-Posix-Shared/IdeContext.o \
	_out/umk/GCCMK-Gcc-Linux-Main-Posix-Shared/MakeBuild.o \
	_out/umk/GCCMK-Gcc-Linux-Main-Posix-Shared/Export.o \
	_out/umk/GCCMK-Gcc-Linux-Main-Posix-Shared/umake.o \
		_out/ide/Builders/GCCMK-Gcc-Linux-Posix-Shared/Builders.a \
		_out/ide/Core/GCCMK-Gcc-Linux-Posix-Shared/Core.a \
		_out/ide/Android/GCCMK-Gcc-Linux-Posix-Shared/Android.a \
		_out/ide/Java/GCCMK-Gcc-Linux-Posix-Shared/Java.a \
		_out/Esc/GCCMK-Gcc-Linux-Posix-Shared/Esc.a \
		_out/plugin/bz2/GCCMK-Gcc-Linux-Posix-Shared/bz2.a \
		_out/plugin/lzma/GCCMK-Gcc-Linux-Posix-Shared/lzma.a \
		_out/plugin/lz4/GCCMK-Gcc-Linux-Posix-Shared/lz4.a \
		_out/plugin/zstd/GCCMK-Gcc-Linux-Posix-Shared/zstd.a \
		_out/Core/GCCMK-Gcc-Linux-Posix-Shared/Core.a \
		_out/plugin/pcre/GCCMK-Gcc-Linux-Posix-Shared/pcre.a \
		-lbz2 \
		-lpthread \
		 \
		-lrt \
		-lz -Wl,--end-group
_out/plugin/zstd/GCCMK-Gcc-Linux-Posix-Shared/zstd.a(Compress.o): In function `Upp::Function<void ()>::Wrapper<Upp::ZstdCompressStream::FlushOut()::{lambda()#1}>::Execute()':
Compress.cpp:(.text._ZN3Upp8FunctionIFvvEE7WrapperIZNS_18ZstdCompressStream8FlushOutEvEUlvE_E7ExecuteEv+0x26): undefined reference to `ZSTD_compress'
_out/plugin/zstd/GCCMK-Gcc-Linux-Posix-Shared/zstd.a(Compress.o): In function `Upp::ZstdCompressStream::Open(Upp::Stream&, int)':
Compress.cpp:(.text._ZN3Upp18ZstdCompressStream4OpenERNS_6StreamEi+0x5e): undefined reference to `ZSTD_compressBound'
_out/plugin/zstd/GCCMK-Gcc-Linux-Posix-Shared/zstd.a(Compress.o): In function `Upp::ZstdCompressStream::FlushOut()':
Compress.cpp:(.text._ZN3Upp18ZstdCompressStream8FlushOutEv+0x32): undefined reference to `ZSTD_compressBound'
Compress.cpp:(.text._ZN3Upp18ZstdCompressStream8FlushOutEv+0x12f): undefined reference to `ZSTD_compress'
_out/plugin/zstd/GCCMK-Gcc-Linux-Posix-Shared/zstd.a(Compress.o): In function `Upp::ZstdCompressStream::Co(bool)':
Compress.cpp:(.text._ZN3Upp18ZstdCompressStream2CoEb+0x4f): undefined reference to `ZSTD_compressBound'
collect2: error: ld returned 1 exit status
uMakefile:87: recipe for target 'umk.out' failed
make[1]: *** [umk.out] Error 1
make[1]: Leaving directory '/home/mais/upp-svn/upp-x11-src-11066/uppsrc'
DOMAKE WARNING: Can't find uppsrc/ide.out binary
Makefile:5: recipe for target 'all' failed
make: *** [all] Error 4

[Updated on: Fri, 12 May 2017 16:22]

Report message to a moderator

Re: svn 11066 fails to compile, also 11062 [message #48051 is a reply to message #48034] Sat, 13 May 2017 12:23 Go to previous messageGo to next message
amrein is currently offline  amrein
Messages: 278
Registered: August 2008
Location: France
Experienced Member
Try this snapshot instead:

http://www.ultimatepp.org/downloads/upp-x11-src-11078.tar.gz
Re: svn 11066 fails to compile, also 11062 [message #48052 is a reply to message #48051] Sat, 13 May 2017 14:04 Go to previous messageGo to next message
slashupp is currently offline  slashupp
Messages: 231
Registered: July 2009
Experienced Member

Thank you, that worked

What was the problem? just curious, I had a look at the source for compress/decompress and zstd etc
but could not spot any obvious flaw

Re: svn 11066 fails to compile, also 11062 [message #48058 is a reply to message #48052] Sat, 13 May 2017 19:13 Go to previous message
amrein is currently offline  amrein
Messages: 278
Registered: August 2008
Location: France
Experienced Member
Two functions were not reachable by the compiler/linker.
The zstd plugin has been deactivated and more works need to be done before we reactivate it.
Previous Topic: Can't compile U++ on most Linux distributions
Next Topic: Error in Ultimate++ installation on Ubuntu 17.04
Goto Forum:
  


Current Time: Thu Mar 28 19:27:30 CET 2024

Total time taken to generate the page: 0.01336 seconds