|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
Codeblocks 20.3 compile problem
HTML Code:
OpenBSD JameS.my.domain 6.7 GENERIC.MP#1 amd64 https://cvsweb.openbsd.org/cgi-bin/c...locks/patches/ $ export AUTOCONF_VERSION=2.69 $ export AUTOMAKE_VERSION=1.1 $ ./bootstrap $ env CXX=eg++ ./configure CONFIGURE_STYLE=gnu CXXFLAGS=-std=c++11 CPPFLAGS="-I/usr/X11R6/include -I/usr/local/include" LDFLAGS="-L/usr/local/lib" --with-contrib-plugins=all --with-boost-libdir=/usr/local/lib --with-boost-system=boost_system and I get: error: undefined symbol: __cxa_atexit HTML Code:
epbase.Tpo $depbase.Plo
libtool: compile: eg++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/local/lib/wx/include/gtk3-unicode-3.0 -I/usr/local/include/wx-3.0 -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I../../src/include/scripting/include -I../../src/include -I../../src/sdk/wxscintilla/include -I../../src/include/scripting/bindings -I../../src/include/scripting/sqplus -I../../src/include/mozilla_chardet -I../../src/include/mozilla_chardet/mfbt -I../../src/include/mozilla_chardet/nsprpub/pr/include -I../../src/include/mozilla_chardet/xpcom -I../../src/include/mozilla_chardet/xpcom/base -I../../src/include/mozilla_chardet/xpcom/glue -DCB_AUTOCONF -I/usr/X11R6/include -I/usr/local/include -DCB_PRECOMP -DPIC -I../../src/include/tinyxml -DTIXML_USE_STL=YES -std=c++11 -Winvalid-pch -fPIC -fexceptions -MT mozilla_chardet/src/nsHebrewProber.lo -MD -MP -MF mozilla_chardet/src/.deps/nsHebrewProber.Tpo -c mozilla_chardet/src/nsHebrewProber.cpp -fPIC -DPIC -o mozilla_chardet/src/.libs/nsHebrewProber.o
depbase=`echo mozilla_chardet/src/nsLatin1Prober.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh ../../libtool --tag=CXX --mode=compile eg++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/local/lib/wx/include/gtk3-unicode-3.0 -I/usr/local/include/wx-3.0 -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I../../src/include/scripting/include -I../../src/include -I../../src/sdk/wxscintilla/include -I../../src/include/scripting/bindings -I../../src/include/scripting/sqplus -I../../src/include/mozilla_chardet -I../../src/include/mozilla_chardet/mfbt -I../../src/include/mozilla_chardet/nsprpub/pr/include -I../../src/include/mozilla_chardet/xpcom -I../../src/include/mozilla_chardet/xpcom/base -I../../src/include/mozilla_chardet/xpcom/glue -DCB_AUTOCONF -I/usr/X11R6/include -I/usr/local/include -DCB_PRECOMP -DPIC -I../../src/include/tinyxml -DTIXML_USE_STL=YES -std=c++11 -Winvalid-pch -fPIC -fexceptions -MT mozilla_chardet/src/nsLatin1Prober.lo -MD -MP -MF $depbase.Tpo -c -o mozilla_chardet/src/nsLatin1Prober.lo mozilla_chardet/src/nsLatin1Prober.cpp && mv -f $depbase.Tpo $depbase.Plo
libtool: compile: eg++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/local/lib/wx/include/gtk3-unicode-3.0 -I/usr/local/include/wx-3.0 -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I../../src/include/scripting/include -I../../src/include -I../../src/sdk/wxscintilla/include -I../../src/include/scripting/bindings -I../../src/include/scripting/sqplus -I../../src/include/mozilla_chardet -I../../src/include/mozilla_chardet/mfbt -I../../src/include/mozilla_chardet/nsprpub/pr/include -I../../src/include/mozilla_chardet/xpcom -I../../src/include/mozilla_chardet/xpcom/base -I../../src/include/mozilla_chardet/xpcom/glue -DCB_AUTOCONF -I/usr/X11R6/include -I/usr/local/include -DCB_PRECOMP -DPIC -I../../src/include/tinyxml -DTIXML_USE_STL=YES -std=c++11 -Winvalid-pch -fPIC -fexceptions -MT mozilla_chardet/src/nsLatin1Prober.lo -MD -MP -MF mozilla_chardet/src/.deps/nsLatin1Prober.Tpo -c mozilla_chardet/src/nsLatin1Prober.cpp -fPIC -DPIC -o mozilla_chardet/src/.libs/nsLatin1Prober.o
depbase=`echo mozilla_chardet/src/nsMBCSGroupProber.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh ../../libtool --tag=CXX --mode=compile eg++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/local/lib/wx/include/gtk3-unicode-3.0 -I/usr/local/include/wx-3.0 -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I../../src/include/scripting/include -I../../src/include -I../../src/sdk/wxscintilla/include -I../../src/include/scripting/bindings -I../../src/include/scripting/sqplus -I../../src/include/mozilla_chardet -I../../src/include/mozilla_chardet/mfbt -I../../src/include/mozilla_chardet/nsprpub/pr/include -I../../src/include/mozilla_chardet/xpcom -I../../src/include/mozilla_chardet/xpcom/base -I../../src/include/mozilla_chardet/xpcom/glue -DCB_AUTOCONF -I/usr/X11R6/include -I/usr/local/include -DCB_PRECOMP -DPIC -I../../src/include/tinyxml -DTIXML_USE_STL=YES -std=c++11 -Winvalid-pch -fPIC -fexceptions -MT mozilla_chardet/src/nsMBCSGroupProber.lo -MD -MP -MF $depbase.Tpo -c -o mozilla_chardet/src/nsMBCSGroupProber.lo mozilla_chardet/src/nsMBCSGroupProber.cpp && mv -f $depbase.Tpo $depbase.Plo
libtool: compile: eg++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/local/lib/wx/include/gtk3-unicode-3.0 -I/usr/local/include/wx-3.0 -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I../../src/include/scripting/include -I../../src/include -I../../src/sdk/wxscintilla/include -I../../src/include/scripting/bindings -I../../src/include/scripting/sqplus -I../../src/include/mozilla_chardet -I../../src/include/mozilla_chardet/mfbt -I../../src/include/mozilla_chardet/nsprpub/pr/include -I../../src/include/mozilla_chardet/xpcom -I../../src/include/mozilla_chardet/xpcom/base -I../../src/include/mozilla_chardet/xpcom/glue -DCB_AUTOCONF -I/usr/X11R6/include -I/usr/local/include -DCB_PRECOMP -DPIC -I../../src/include/tinyxml -DTIXML_USE_STL=YES -std=c++11 -Winvalid-pch -fPIC -fexceptions -MT mozilla_chardet/src/nsMBCSGroupProber.lo -MD -MP -MF mozilla_chardet/src/.deps/nsMBCSGroupProber.Tpo -c mozilla_chardet/src/nsMBCSGroupProber.cpp -fPIC -DPIC -o mozilla_chardet/src/.libs/nsMBCSGroupProber.o
depbase=`echo mozilla_chardet/src/nsMBCSSM.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh ../../libtool --tag=CXX --mode=compile eg++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/local/lib/wx/include/gtk3-unicode-3.0 -I/usr/local/include/wx-3.0 -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I../../src/include/scripting/include -I../../src/include -I../../src/sdk/wxscintilla/include -I../../src/include/scripting/bindings -I../../src/include/scripting/sqplus -I../../src/include/mozilla_chardet -I../../src/include/mozilla_chardet/mfbt -I../../src/include/mozilla_chardet/nsprpub/pr/include -I../../src/include/mozilla_chardet/xpcom -I../../src/include/mozilla_chardet/xpcom/base -I../../src/include/mozilla_chardet/xpcom/glue -DCB_AUTOCONF -I/usr/X11R6/include -I/usr/local/include -DCB_PRECOMP -DPIC -I../../src/include/tinyxml -DTIXML_USE_STL=YES -std=c++11 -Winvalid-pch -fPIC -fexceptions -MT mozilla_chardet/src/nsMBCSSM.lo -MD -MP -MF $depbase.Tpo -c -o mozilla_chardet/src/nsMBCSSM.lo mozilla_chardet/src/nsMBCSSM.cpp && mv -f $depbase.Tpo $depbase.Plo
libtool: compile: eg++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/local/lib/wx/include/gtk3-unicode-3.0 -I/usr/local/include/wx-3.0 -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I../../src/include/scripting/include -I../../src/include -I../../src/sdk/wxscintilla/include -I../../src/include/scripting/bindings -I../../src/include/scripting/sqplus -I../../src/include/mozilla_chardet -I../../src/include/mozilla_chardet/mfbt -I../../src/include/mozilla_chardet/nsprpub/pr/include -I../../src/include/mozilla_chardet/xpcom -I../../src/include/mozilla_chardet/xpcom/base -I../../src/include/mozilla_chardet/xpcom/glue -DCB_AUTOCONF -I/usr/X11R6/include -I/usr/local/include -DCB_PRECOMP -DPIC -I../../src/include/tinyxml -DTIXML_USE_STL=YES -std=c++11 -Winvalid-pch -fPIC -fexceptions -MT mozilla_chardet/src/nsMBCSSM.lo -MD -MP -MF mozilla_chardet/src/.deps/nsMBCSSM.Tpo -c mozilla_chardet/src/nsMBCSSM.cpp -fPIC -DPIC -o mozilla_chardet/src/.libs/nsMBCSSM.o
depbase=`echo mozilla_chardet/src/nsSBCharSetProber.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh ../../libtool --tag=CXX --mode=compile eg++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/local/lib/wx/include/gtk3-unicode-3.0 -I/usr/local/include/wx-3.0 -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I../../src/include/scripting/include -I../../src/include -I../../src/sdk/wxscintilla/include -I../../src/include/scripting/bindings -I../../src/include/scripting/sqplus -I../../src/include/mozilla_chardet -I../../src/include/mozilla_chardet/mfbt -I../../src/include/mozilla_chardet/nsprpub/pr/include -I../../src/include/mozilla_chardet/xpcom -I../../src/include/mozilla_chardet/xpcom/base -I../../src/include/mozilla_chardet/xpcom/glue -DCB_AUTOCONF -I/usr/X11R6/include -I/usr/local/include -DCB_PRECOMP -DPIC -I../../src/include/tinyxml -DTIXML_USE_STL=YES -std=c++11 -Winvalid-pch -fPIC -fexceptions -MT mozilla_chardet/src/nsSBCharSetProber.lo -MD -MP -MF $depbase.Tpo -c -o mozilla_chardet/src/nsSBCharSetProber.lo mozilla_chardet/src/nsSBCharSetProber.cpp && mv -f $depbase.Tpo $depbase.Plo
libtool: compile: eg++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/local/lib/wx/include/gtk3-unicode-3.0 -I/usr/local/include/wx-3.0 -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I../../src/include/scripting/include -I../../src/include -I../../src/sdk/wxscintilla/include -I../../src/include/scripting/bindings -I../../src/include/scripting/sqplus -I../../src/include/mozilla_chardet -I../../src/include/mozilla_chardet/mfbt -I../../src/include/mozilla_chardet/nsprpub/pr/include -I../../src/include/mozilla_chardet/xpcom -I../../src/include/mozilla_chardet/xpcom/base -I../../src/include/mozilla_chardet/xpcom/glue -DCB_AUTOCONF -I/usr/X11R6/include -I/usr/local/include -DCB_PRECOMP -DPIC -I../../src/include/tinyxml -DTIXML_USE_STL=YES -std=c++11 -Winvalid-pch -fPIC -fexceptions -MT mozilla_chardet/src/nsSBCharSetProber.lo -MD -MP -MF mozilla_chardet/src/.deps/nsSBCharSetProber.Tpo -c mozilla_chardet/src/nsSBCharSetProber.cpp -fPIC -DPIC -o mozilla_chardet/src/.libs/nsSBCharSetProber.o
depbase=`echo mozilla_chardet/src/nsSBCSGroupProber.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh ../../libtool --tag=CXX --mode=compile eg++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/local/lib/wx/include/gtk3-unicode-3.0 -I/usr/local/include/wx-3.0 -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I../../src/include/scripting/include -I../../src/include -I../../src/sdk/wxscintilla/include -I../../src/include/scripting/bindings -I../../src/include/scripting/sqplus -I../../src/include/mozilla_chardet -I../../src/include/mozilla_chardet/mfbt -I../../src/include/mozilla_chardet/nsprpub/pr/include -I../../src/include/mozilla_chardet/xpcom -I../../src/include/mozilla_chardet/xpcom/base -I../../src/include/mozilla_chardet/xpcom/glue -DCB_AUTOCONF -I/usr/X11R6/include -I/usr/local/include -DCB_PRECOMP -DPIC -I../../src/include/tinyxml -DTIXML_USE_STL=YES -std=c++11 -Winvalid-pch -fPIC -fexceptions -MT mozilla_chardet/src/nsSBCSGroupProber.lo -MD -MP -MF $depbase.Tpo -c -o mozilla_chardet/src/nsSBCSGroupProber.lo mozilla_chardet/src/nsSBCSGroupProber.cpp && mv -f $depbase.Tpo $depbase.Plo
libtool: compile: eg++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/local/lib/wx/include/gtk3-unicode-3.0 -I/usr/local/include/wx-3.0 -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I../../src/include/scripting/include -I../../src/include -I../../src/sdk/wxscintilla/include -I../../src/include/scripting/bindings -I../../src/include/scripting/sqplus -I../../src/include/mozilla_chardet -I../../src/include/mozilla_chardet/mfbt -I../../src/include/mozilla_chardet/nsprpub/pr/include -I../../src/include/mozilla_chardet/xpcom -I../../src/include/mozilla_chardet/xpcom/base -I../../src/include/mozilla_chardet/xpcom/glue -DCB_AUTOCONF -I/usr/X11R6/include -I/usr/local/include -DCB_PRECOMP -DPIC -I../../src/include/tinyxml -DTIXML_USE_STL=YES -std=c++11 -Winvalid-pch -fPIC -fexceptions -MT mozilla_chardet/src/nsSBCSGroupProber.lo -MD -MP -MF mozilla_chardet/src/.deps/nsSBCSGroupProber.Tpo -c mozilla_chardet/src/nsSBCSGroupProber.cpp -fPIC -DPIC -o mozilla_chardet/src/.libs/nsSBCSGroupProber.o
In file included from ../../src/include/configmanager.h:15,
from mozilla_chardet/src/nsSBCSGroupProber.cpp:10:
/usr/local/include/tinyxml.h:29: warning: "TIXML_USE_STL" redefined
#define TIXML_USE_STL
<command-line>: note: this is the location of the previous definition
depbase=`echo mozilla_chardet/src/nsSJISProber.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh ../../libtool --tag=CXX --mode=compile eg++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/local/lib/wx/include/gtk3-unicode-3.0 -I/usr/local/include/wx-3.0 -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I../../src/include/scripting/include -I../../src/include -I../../src/sdk/wxscintilla/include -I../../src/include/scripting/bindings -I../../src/include/scripting/sqplus -I../../src/include/mozilla_chardet -I../../src/include/mozilla_chardet/mfbt -I../../src/include/mozilla_chardet/nsprpub/pr/include -I../../src/include/mozilla_chardet/xpcom -I../../src/include/mozilla_chardet/xpcom/base -I../../src/include/mozilla_chardet/xpcom/glue -DCB_AUTOCONF -I/usr/X11R6/include -I/usr/local/include -DCB_PRECOMP -DPIC -I../../src/include/tinyxml -DTIXML_USE_STL=YES -std=c++11 -Winvalid-pch -fPIC -fexceptions -MT mozilla_chardet/src/nsSJISProber.lo -MD -MP -MF $depbase.Tpo -c -o mozilla_chardet/src/nsSJISProber.lo mozilla_chardet/src/nsSJISProber.cpp && mv -f $depbase.Tpo $depbase.Plo
libtool: compile: eg++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/local/lib/wx/include/gtk3-unicode-3.0 -I/usr/local/include/wx-3.0 -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I../../src/include/scripting/include -I../../src/include -I../../src/sdk/wxscintilla/include -I../../src/include/scripting/bindings -I../../src/include/scripting/sqplus -I../../src/include/mozilla_chardet -I../../src/include/mozilla_chardet/mfbt -I../../src/include/mozilla_chardet/nsprpub/pr/include -I../../src/include/mozilla_chardet/xpcom -I../../src/include/mozilla_chardet/xpcom/base -I../../src/include/mozilla_chardet/xpcom/glue -DCB_AUTOCONF -I/usr/X11R6/include -I/usr/local/include -DCB_PRECOMP -DPIC -I../../src/include/tinyxml -DTIXML_USE_STL=YES -std=c++11 -Winvalid-pch -fPIC -fexceptions -MT mozilla_chardet/src/nsSJISProber.lo -MD -MP -MF mozilla_chardet/src/.deps/nsSJISProber.Tpo -c mozilla_chardet/src/nsSJISProber.cpp -fPIC -DPIC -o mozilla_chardet/src/.libs/nsSJISProber.o
depbase=`echo mozilla_chardet/src/nsUniversalDetector.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh ../../libtool --tag=CXX --mode=compile eg++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/local/lib/wx/include/gtk3-unicode-3.0 -I/usr/local/include/wx-3.0 -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I../../src/include/scripting/include -I../../src/include -I../../src/sdk/wxscintilla/include -I../../src/include/scripting/bindings -I../../src/include/scripting/sqplus -I../../src/include/mozilla_chardet -I../../src/include/mozilla_chardet/mfbt -I../../src/include/mozilla_chardet/nsprpub/pr/include -I../../src/include/mozilla_chardet/xpcom -I../../src/include/mozilla_chardet/xpcom/base -I../../src/include/mozilla_chardet/xpcom/glue -DCB_AUTOCONF -I/usr/X11R6/include -I/usr/local/include -DCB_PRECOMP -DPIC -I../../src/include/tinyxml -DTIXML_USE_STL=YES -std=c++11 -Winvalid-pch -fPIC -fexceptions -MT mozilla_chardet/src/nsUniversalDetector.lo -MD -MP -MF $depbase.Tpo -c -o mozilla_chardet/src/nsUniversalDetector.lo mozilla_chardet/src/nsUniversalDetector.cpp && mv -f $depbase.Tpo $depbase.Plo
libtool: compile: eg++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/local/lib/wx/include/gtk3-unicode-3.0 -I/usr/local/include/wx-3.0 -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I../../src/include/scripting/include -I../../src/include -I../../src/sdk/wxscintilla/include -I../../src/include/scripting/bindings -I../../src/include/scripting/sqplus -I../../src/include/mozilla_chardet -I../../src/include/mozilla_chardet/mfbt -I../../src/include/mozilla_chardet/nsprpub/pr/include -I../../src/include/mozilla_chardet/xpcom -I../../src/include/mozilla_chardet/xpcom/base -I../../src/include/mozilla_chardet/xpcom/glue -DCB_AUTOCONF -I/usr/X11R6/include -I/usr/local/include -DCB_PRECOMP -DPIC -I../../src/include/tinyxml -DTIXML_USE_STL=YES -std=c++11 -Winvalid-pch -fPIC -fexceptions -MT mozilla_chardet/src/nsUniversalDetector.lo -MD -MP -MF mozilla_chardet/src/.deps/nsUniversalDetector.Tpo -c mozilla_chardet/src/nsUniversalDetector.cpp -fPIC -DPIC -o mozilla_chardet/src/.libs/nsUniversalDetector.o
depbase=`echo mozilla_chardet/src/nsUTF8Prober.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh ../../libtool --tag=CXX --mode=compile eg++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/local/lib/wx/include/gtk3-unicode-3.0 -I/usr/local/include/wx-3.0 -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I../../src/include/scripting/include -I../../src/include -I../../src/sdk/wxscintilla/include -I../../src/include/scripting/bindings -I../../src/include/scripting/sqplus -I../../src/include/mozilla_chardet -I../../src/include/mozilla_chardet/mfbt -I../../src/include/mozilla_chardet/nsprpub/pr/include -I../../src/include/mozilla_chardet/xpcom -I../../src/include/mozilla_chardet/xpcom/base -I../../src/include/mozilla_chardet/xpcom/glue -DCB_AUTOCONF -I/usr/X11R6/include -I/usr/local/include -DCB_PRECOMP -DPIC -I../../src/include/tinyxml -DTIXML_USE_STL=YES -std=c++11 -Winvalid-pch -fPIC -fexceptions -MT mozilla_chardet/src/nsUTF8Prober.lo -MD -MP -MF $depbase.Tpo -c -o mozilla_chardet/src/nsUTF8Prober.lo mozilla_chardet/src/nsUTF8Prober.cpp && mv -f $depbase.Tpo $depbase.Plo
libtool: compile: eg++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/local/lib/wx/include/gtk3-unicode-3.0 -I/usr/local/include/wx-3.0 -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I../../src/include/scripting/include -I../../src/include -I../../src/sdk/wxscintilla/include -I../../src/include/scripting/bindings -I../../src/include/scripting/sqplus -I../../src/include/mozilla_chardet -I../../src/include/mozilla_chardet/mfbt -I../../src/include/mozilla_chardet/nsprpub/pr/include -I../../src/include/mozilla_chardet/xpcom -I../../src/include/mozilla_chardet/xpcom/base -I../../src/include/mozilla_chardet/xpcom/glue -DCB_AUTOCONF -I/usr/X11R6/include -I/usr/local/include -DCB_PRECOMP -DPIC -I../../src/include/tinyxml -DTIXML_USE_STL=YES -std=c++11 -Winvalid-pch -fPIC -fexceptions -MT mozilla_chardet/src/nsUTF8Prober.lo -MD -MP -MF mozilla_chardet/src/.deps/nsUTF8Prober.Tpo -c mozilla_chardet/src/nsUTF8Prober.cpp -fPIC -DPIC -o mozilla_chardet/src/.libs/nsUTF8Prober.o
/bin/sh ../../libtool --tag=CXX --mode=link eg++ -std=c++11 -Winvalid-pch -fPIC -fexceptions -version-info 0:1:0 -Wl,--no-undefined -L/usr/local/lib -o libcodeblocks.la -rpath /usr/local/lib annoyingdialog.lo autodetectcompilers.lo base64.lo blockallocated.lo cbart_provider.lo cbauibook.lo cbcolourmanager.lo cbdebugger_interfaces.lo cbeditor.lo cbeditorprintout.lo cbexception.lo cbplugin.lo cbproject.lo cbstatusbar.lo cbstyledtextctrl.lo cbthreadpool.lo cbtreectrl.lo cbworkspace.lo ccmanager.lo compileoptionsbase.lo compiler.lo compilercommandgenerator.lo compilerfactory.lo compileroptions.lo compiletargetbase.lo configmanager-revision.lo configmanager.lo configurationpanel.lo configuretoolsdlg.lo confirmreplacedlg.lo crc32.lo debuggermanager.lo editarrayfiledlg.lo editarrayorderdlg.lo editarraystringdlg.lo editor_hooks.lo editorbase.lo editorcolourset.lo editorlexerloader.lo editormanager.lo editpairdlg.lo editpathdlg.lo edittooldlg.lo encodingdetector.lo externaldepsdlg.lo filefilters.lo filegroupsandmasks.lo filemanager.lo findreplacedlg.lo genericmultilinenotesdlg.lo globals.lo importers_globals.lo incremental_select_helper.lo infowindow.lo loggers.lo logmanager.lo macrosmanager.lo manager.lo menuitemsmanager.lo multiselectdlg.lo newfromtemplatedlg.lo personalitymanager.lo pipedprocess.lo pluginmanager.lo pluginsconfigurationdlg.lo printing_types.lo projectbuildtarget.lo projectfile.lo projectfileoptionsdlg.lo projectlayoutloader.lo projectloader.lo projectloader_hooks.lo projectmanager.lo projectsfilemasksdlg.lo projecttemplateloader.lo scriptingmanager.lo scriptsecuritywarningdlg.lo scrollingdialog.lo sdk_events.lo searchresultslog.lo selecttargetdlg.lo templatemanager.lo tinywxuni.lo toolsmanager.lo uservarmanager.lo workspaceloader.lo xtra_res.lo mozilla_chardet/src/CharDistribution.lo mozilla_chardet/src/JpCntx.lo mozilla_chardet/src/LangBulgarianModel.lo mozilla_chardet/src/LangCyrillicModel.lo mozilla_chardet/src/LangGreekModel.lo mozilla_chardet/src/LangHebrewModel.lo mozilla_chardet/src/LangHungarianModel.lo mozilla_chardet/src/LangThaiModel.lo mozilla_chardet/src/nsBig5Prober.lo mozilla_chardet/src/nsCharSetProber.lo mozilla_chardet/src/nsEscCharsetProber.lo mozilla_chardet/src/nsEscSM.lo mozilla_chardet/src/nsEUCJPProber.lo mozilla_chardet/src/nsEUCKRProber.lo mozilla_chardet/src/nsEUCTWProber.lo mozilla_chardet/src/nsGB2312Prober.lo mozilla_chardet/src/nsHebrewProber.lo mozilla_chardet/src/nsLatin1Prober.lo mozilla_chardet/src/nsMBCSGroupProber.lo mozilla_chardet/src/nsMBCSSM.lo mozilla_chardet/src/nsSBCharSetProber.lo mozilla_chardet/src/nsSBCSGroupProber.lo mozilla_chardet/src/nsSJISProber.lo mozilla_chardet/src/nsUniversalDetector.lo mozilla_chardet/src/nsUTF8Prober.lo scripting/bindings/libsqbindings.la scripting/sqplus/libsqplus.la wxscintilla/libwxscintilla.la -L/usr/local/lib -pthread -L/usr/X11R6/lib -L/usr/X11R6/lib -lwx_gtk3u_aui-3.0 -lwx_gtk3u_propgrid-3.0 -lwx_gtk3u_richtext-3.0 -lwx_gtk3u_xrc-3.0 -lwx_gtk3u_html-3.0 -lwx_gtk3u_qa-3.0 -lwx_gtk3u_adv-3.0 -lwx_gtk3u_core-3.0 -lwx_baseu_xml-3.0 -lwx_baseu_net-3.0 -lwx_baseu-3.0 -L/usr/local/lib -Wl,-rpath-link,/usr/X11R6/lib -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -lgdk_pixbuf-2.0 -lcairo-gobject -lcairo -lgobject-2.0 -lglib-2.0 -lintl ../../src/base/tinyxml/libtinyxml.la ../../src/sdk/scripting/squirrel/libsquirrel.la ../../src/sdk/scripting/sqstdlib/libsqstdlib.la -lpthread
libtool: link: eg++ -shared -fPIC -DPIC .libs/annoyingdialog.o .libs/autodetectcompilers.o .libs/base64.o .libs/blockallocated.o .libs/cbart_provider.o .libs/cbauibook.o .libs/cbcolourmanager.o .libs/cbdebugger_interfaces.o .libs/cbeditor.o .libs/cbeditorprintout.o .libs/cbexception.o .libs/cbplugin.o .libs/cbproject.o .libs/cbstatusbar.o .libs/cbstyledtextctrl.o .libs/cbthreadpool.o .libs/cbtreectrl.o .libs/cbworkspace.o .libs/ccmanager.o .libs/compileoptionsbase.o .libs/compiler.o .libs/compilercommandgenerator.o .libs/compilerfactory.o .libs/compileroptions.o .libs/compiletargetbase.o .libs/configmanager-revision.o .libs/configmanager.o .libs/configurationpanel.o .libs/configuretoolsdlg.o .libs/confirmreplacedlg.o .libs/crc32.o .libs/debuggermanager.o .libs/editarrayfiledlg.o .libs/editarrayorderdlg.o .libs/editarraystringdlg.o .libs/editor_hooks.o .libs/editorbase.o .libs/editorcolourset.o .libs/editorlexerloader.o .libs/editormanager.o .libs/editpairdlg.o .libs/editpathdlg.o .libs/edittooldlg.o .libs/encodingdetector.o .libs/externaldepsdlg.o .libs/filefilters.o .libs/filegroupsandmasks.o .libs/filemanager.o .libs/findreplacedlg.o .libs/genericmultilinenotesdlg.o .libs/globals.o .libs/importers_globals.o .libs/incremental_select_helper.o .libs/infowindow.o .libs/loggers.o .libs/logmanager.o .libs/macrosmanager.o .libs/manager.o .libs/menuitemsmanager.o .libs/multiselectdlg.o .libs/newfromtemplatedlg.o .libs/personalitymanager.o .libs/pipedprocess.o .libs/pluginmanager.o .libs/pluginsconfigurationdlg.o .libs/printing_types.o .libs/projectbuildtarget.o .libs/projectfile.o .libs/projectfileoptionsdlg.o .libs/projectlayoutloader.o .libs/projectloader.o .libs/projectloader_hooks.o .libs/projectmanager.o .libs/projectsfilemasksdlg.o .libs/projecttemplateloader.o .libs/scriptingmanager.o .libs/scriptsecuritywarningdlg.o .libs/scrollingdialog.o .libs/sdk_events.o .libs/searchresultslog.o .libs/selecttargetdlg.o .libs/templatemanager.o .libs/tinywxuni.o .libs/toolsmanager.o .libs/uservarmanager.o .libs/workspaceloader.o .libs/xtra_res.o mozilla_chardet/src/.libs/CharDistribution.o mozilla_chardet/src/.libs/JpCntx.o mozilla_chardet/src/.libs/LangBulgarianModel.o mozilla_chardet/src/.libs/LangCyrillicModel.o mozilla_chardet/src/.libs/LangGreekModel.o mozilla_chardet/src/.libs/LangHebrewModel.o mozilla_chardet/src/.libs/LangHungarianModel.o mozilla_chardet/src/.libs/LangThaiModel.o mozilla_chardet/src/.libs/nsBig5Prober.o mozilla_chardet/src/.libs/nsCharSetProber.o mozilla_chardet/src/.libs/nsEscCharsetProber.o mozilla_chardet/src/.libs/nsEscSM.o mozilla_chardet/src/.libs/nsEUCJPProber.o mozilla_chardet/src/.libs/nsEUCKRProber.o mozilla_chardet/src/.libs/nsEUCTWProber.o mozilla_chardet/src/.libs/nsGB2312Prober.o mozilla_chardet/src/.libs/nsHebrewProber.o mozilla_chardet/src/.libs/nsLatin1Prober.o mozilla_chardet/src/.libs/nsMBCSGroupProber.o mozilla_chardet/src/.libs/nsMBCSSM.o mozilla_chardet/src/.libs/nsSBCharSetProber.o mozilla_chardet/src/.libs/nsSBCSGroupProber.o mozilla_chardet/src/.libs/nsSJISProber.o mozilla_chardet/src/.libs/nsUniversalDetector.o mozilla_chardet/src/.libs/nsUTF8Prober.o -Wl,--whole-archive scripting/bindings/.libs/libsqbindings.a scripting/sqplus/.libs/libsqplus.a wxscintilla/.libs/libwxscintilla.a ../../src/base/tinyxml/.libs/libtinyxml.a ../../src/sdk/scripting/squirrel/.libs/libsquirrel.a ../../src/sdk/scripting/sqstdlib/.libs/libsqstdlib.a -Wl,--no-whole-archive -L/usr/local/lib -L/usr/X11R6/lib -lwx_gtk3u_aui-3.0 -lwx_gtk3u_propgrid-3.0 -lwx_gtk3u_richtext-3.0 -lwx_gtk3u_xrc-3.0 -lwx_gtk3u_html-3.0 -lwx_gtk3u_qa-3.0 -lwx_gtk3u_adv-3.0 -lwx_gtk3u_core-3.0 -lwx_baseu_xml-3.0 -lwx_baseu_net-3.0 -lwx_baseu-3.0 -lgdk-3 -lgio-2.0 -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lXfixes -lepoxy -lfribidi -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -lgraphite2 -lgdk_pixbuf-2.0 -lcairo-gobject -lcairo -lpixman-1 -lfontconfig -lfreetype -lz -lpng -lxcb-shm -lxcb -lxcb-render -lXrender -lX11 -lXext -lm -lexpat -lgobject-2.0 -lglib-2.0 -lintl -liconv -lpthread -Wl,--no-undefined -pthread -Wl,-rpath-link -Wl,/usr/X11R6/lib -pthread -pthread -pthread -o .libs/libcodeblocks.so.0.1
ld: error: undefined symbol: __cxa_atexit
>>> referenced by crtbeginS.c
>>> /usr/lib/crtbeginS.o:(atexit)
ld: error: undefined symbol: __stack_smash_handler
>>> referenced by annoyingdialog.cpp
>>> .libs/annoyingdialog.o:(AnnoyingDialog::AnnoyingDialog(wxString const&, wxString const&, wxString, AnnoyingDialog::dStyle, AnnoyingDialog::dReturnType, wxString const&, wxString const&, wxString const&))
ld: error: undefined symbol: __stack_smash_handler
>>> referenced by annoyingdialog.cpp
>>> .libs/annoyingdialog.o:(AnnoyingDialog::AnnoyingDialog(wxString const&, wxString const&, wxString const&, wxString, AnnoyingDialog::dStyle, AnnoyingDialog::dReturnType, wxString const&, wxString const&, wxString const&))
ld: error: undefined symbol: __stack_smash_handler
>>> referenced by annoyingdialog.cpp
>>> .libs/annoyingdialog.o:(AnnoyingDialog::Init(wxString const&, wxString const&, wxString const&, wxString, AnnoyingDialog::dStyle, wxString const&, wxString const&, wxString const&))
ld: error: undefined symbol: __stack_smash_handler
>>> referenced by annoyingdialog.cpp
>>> .libs/annoyingdialog.o:(AnnoyingDialog::OnButton(wxCommandEvent&))
ld: error: undefined symbol: __cxa_atexit
>>> referenced by annoyingdialog.cpp
>>> .libs/annoyingdialog.o:(__static_initialization_and_destruction_0(int, int))
ld: error: undefined symbol: __cxa_atexit
>>> referenced by annoyingdialog.cpp
>>> .libs/annoyingdialog.o:(__static_initialization_and_destruction_0(int, int))
ld: error: undefined symbol: __cxa_atexit
>>> referenced by annoyingdialog.cpp
>>> .libs/annoyingdialog.o:(__static_initialization_and_destruction_0(int, int))
ld: error: undefined symbol: __cxa_atexit
>>> referenced by annoyingdialog.cpp
>>> .libs/annoyingdialog.o:(__static_initialization_and_destruction_0(int, int))
ld: error: undefined symbol: __cxa_atexit
>>> referenced by annoyingdialog.cpp
>>> .libs/annoyingdialog.o:(__static_initialization_and_destruction_0(int, int))
ld: error: undefined symbol: free
>>> referenced by annoyingdialog.cpp
>>> .libs/annoyingdialog.o:(wxPrivate::UntypedBufferData::~UntypedBufferData())
ld: error: undefined symbol: __stack_smash_handler
>>> referenced by annoyingdialog.cpp
>>> .libs/annoyingdialog.o:(wxString::ImplStr(char const*, wxMBConv const&))
ld: error: undefined symbol: __stack_smash_handler
>>> referenced by annoyingdialog.cpp
>>> .libs/annoyingdialog.o:(wxString::wxString(char const*))
ld: error: undefined symbol: __stack_smash_handler
>>> referenced by annoyingdialog.cpp
>>> .libs/annoyingdialog.o:(wxString::wxString(wchar_t const*))
ld: error: undefined symbol: __stack_smash_handler
>>> referenced by annoyingdialog.cpp
>>> .libs/annoyingdialog.o:(wxString::assign(unsigned long, wchar_t))
ld: error: undefined symbol: __stack_smash_handler
>>> referenced by annoyingdialog.cpp
>>> .libs/annoyingdialog.o:(wxString::erase(unsigned long, unsigned long))
ld: error: undefined symbol: __stack_smash_handler
>>> referenced by annoyingdialog.cpp
>>> .libs/annoyingdialog.o:(wxThreadHelperThread::Entry())
ld: error: undefined symbol: strcmp
>>> referenced by annoyingdialog.cpp
>>> .libs/annoyingdialog.o:(wxTypeIdentifier::operator==(wxTypeIdentifier const&))
ld: error: undefined symbol: strcmp
>>> referenced by annoyingdialog.cpp
>>> .libs/annoyingdialog.o:(wxTypeIdentifier::operator!=(wxTypeIdentifier const&))
ld: error: undefined symbol: __stack_smash_handler
>>> referenced by annoyingdialog.cpp
>>> .libs/annoyingdialog.o:(wxObjectEventFunctor::IsMatching(wxEventFunctor const&) const)
ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
collect2: error: ld returned 1 exit status
*** Error 1 in src/sdk (Makefile:854 'libcodeblocks.la')
*** Error 1 in src/sdk (Makefile:1040 'all-recursive': @fail=; if (target_option=k; case ${target_option-} in ?) ;; *) echo "am__make_run...)
*** Error 1 in src (Makefile:568 'all-recursive': @fail=; if (target_option=k; case ${target_option-} in ?) ;; *) echo "am__make_running_...)
*** Error 1 in /home/admin/Downloads/codeblocks-20.03 (Makefile:699 'all-recursive': @fail=; if (target_option=k; case ${target_option-} in...)
|
|
||||
First, hello and welcome!
Second, thanks for trying to get codeblocks 20.03 working! Third, I happen to be the port's maintainer, and wasn't aware -- until I read your post just now -- that it had been updated. All I know about __cxa_atexit is that it is an internal compiler call. My guess is that you may obtain different results if you use clang. The port's $COMPILER string is "base-clang ports-gcc" so that the $CHOSEN_COMPILER will be clang on architectures that have it. I recommend that you start with my port of the prior release, as you're already using the patches. The port should make things easier when updating to the new release. And, of course, now that I know there is a new version available, I will try to do the same. Updating ports, from the Porter's Handbook. The first of us to post a unified diff(1) to the ports@ mailing list wins! It may be you, as I might not be able to get started until next week. |
|
|||
Thank you for doing what you are doing for us
|
|
||||
I had a support question from an OpenBSD -release user regarding the patch to 20.03 -- while the patch applies to a -release source tree, changes in the PLIST for -current pkg_create(1) will cause package building to fail. This is a -current patch only.
|
|
||||
For what it may be worth, the devel/codeblocks port was further revised and was committed to the ports tree on June 26. The OpenBSD Project will begin building snapshot packages for it as bulk package build cycles restart for each architecture.
|
|
|||
First of all thank you for maintaining Codeblocks. I noticed that those "ld: error: undefined symbol" messages pop up frequently (e.g. in the thread here about building Julia). In my case it was about geany-plugins 1.37 (although I realized that geany has the plugin built in I wanted). So it's more about the core of the issue, not the plugins for me. There was a patch posted for 1.36 but it did not end up in ports yet.
autogen.sh or the same env c++ command as in the OP (with tweaks like remove 'contrib-plugins') work fine. Code:
doas pkg_add autoconf automake intltool libtool cd geany-plugins-1.37.0 export AUTOCONF_VERSION=2.69 export AUTOMAKE_VERSION=1.15 ./autogen.sh cd geanylua gmake Code:
libgeanylua.la ld: error: undefined symbol: strncpy >>> referenced by glspi_app.c:393 >>> .libs/libgeanylua_la-glspi_app.o:(glspi_keycmd) >>> referenced by glspi_init.c:330 >>> .libs/libgeanylua_la-glspi_init.o:(init_menu) >>> referenced by glspi_sci.c:630 >>> .libs/libgeanylua_la-glspi_sci.o:(glspi_scintilla) ld: error: undefined symbol: getcwd >>> referenced by glspi_app.c:328 >>> .libs/libgeanylua_la-glspi_app.o:(glspi_wkdir) ld: error: undefined symbol: __stack_smash_handler >>> referenced by glspi_app.c:558 >>> .libs/libgeanylua_la-glspi_app.o:(init_key) >>> referenced by glspi_app.c:607 >>> .libs/libgeanylua_la-glspi_app.o:(glspi_keygrab) >>> referenced by glspi_app.c:439 >>> .libs/libgeanylua_la-glspi_app.o:(glspi_launch) >>> referenced by glspi_app.c:414 >>> .libs/libgeanylua_la-glspi_app.o:(glspi_keycmd) >>> referenced by glspi_app.c:321 >>> .libs/libgeanylua_la-glspi_app.o:(glspi_dirlist) >>> referenced by glspi_app.c:219 >>> .libs/libgeanylua_la-glspi_app.o:(glspi_stat) >>> referenced by glspi_app.c:132 >>> .libs/libgeanylua_la-glspi_app.o:(glspi_xsel) >>> referenced by glspi_dlg.c:197 >>> .libs/libgeanylua_la-glspi_dlg.o:(glspi_choose) >>> referenced by glspi_init.c:353 >>> .libs/libgeanylua_la-glspi_init.o:(init_menu) >>> referenced by glspi_init.c:175 >>> .libs/libgeanylua_la-glspi_init.o:(hotkey_init) >>> referenced 20 more times . . ld: error: undefined symbol: strcmp >>> referenced by glspi_doc.c:67 >>> .libs/libgeanylua_la-glspi_doc.o:(filename_to_doc_idx) >>> referenced by glspi_run.c:190 >>> .libs/libgeanylua_la-glspi_run.o:(debug_hook) ld: error: undefined symbol: memmove >>> referenced by glspi_init.c:77 >>> .libs/libgeanylua_la-glspi_init.o:(fixup_label) ld: error: undefined symbol: fopen >>> referenced by glspi_init.c:277 >>> .libs/libgeanylua_la-glspi_init.o:(init_menu) ld: error: undefined symbol: fread >>> referenced by glspi_init.c:281 >>> .libs/libgeanylua_la-glspi_init.o:(init_menu) ld: error: undefined symbol: _ctype_ >>> referenced by ctype.h:157 (/usr/include/ctype.h:157) >>> .libs/libgeanylua_la-glspi_init.o:(init_menu) ld: error: undefined symbol: fclose >>> referenced by glspi_init.c:310 >>> .libs/libgeanylua_la-glspi_init.o:(init_menu) ld: error: undefined symbol: strcpy >>> referenced by glspi_init.c:333 >>> .libs/libgeanylua_la-glspi_init.o:(init_menu) ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) collect2: ld returned 1 exit status gmake[1]: *** [Makefile:761: libgeanylua.la] Error 1 gmake[1]: Leaving directory '/geany-plugins-1.37.0/geanylua' gmake: *** [Makefile:914: all-recursive] Error 1 Last edited by bradley; 5th March 2021 at 03:35 PM. |
|
||||
Quote:
Quote:
|
Tags |
codeblocks, compile, openbsd |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't compile gcc-4.3.3_20090101 | troberts | FreeBSD Ports and Packages | 7 | 12th January 2009 10:30 PM |
Can't compile autoconf262 | Sunsawe | FreeBSD Ports and Packages | 2 | 26th August 2008 07:53 PM |
How come gnome2 won't compile? | Damien787 | FreeBSD Ports and Packages | 10 | 16th June 2008 05:20 PM |
openbsd4.3 - problem compile php5 | blackyzero | OpenBSD General | 3 | 27th May 2008 06:24 PM |
Why wont this compile? | Johnny2Bad | FreeBSD General | 10 | 19th May 2008 11:30 PM |