From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Nov 11 10:54:43 2003 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A8CE016A4CE for ; Tue, 11 Nov 2003 10:54:43 -0800 (PST) Received: from priv-edtnes56.telusplanet.net (defout.telus.net [199.185.220.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7BB643FCB for ; Tue, 11 Nov 2003 10:54:42 -0800 (PST) (envelope-from acdalton@ucalgary.ca) Received: from [198.53.109.134] by priv-edtnes56.telusplanet.netESMTP <20031111185442.WAHA16402.priv-edtnes56.telusplanet.net@[198.53.109.134]> for ; Tue, 11 Nov 2003 11:54:42 -0700 From: Aaron Dalton To: freebsd-ports-bugs@freebsd.org Date: Tue, 11 Nov 2003 11:54:13 -0700 User-Agent: KMail/1.5.4 MIME-Version: 1.0 Content-Disposition: inline Content-Description: clearsigned data Message-Id: <200311111144.51216.aaron@finch.st> Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: ClanLib-0.7.5.2 Compilation Problems X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2003 18:54:43 -0000 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The below error occurs when I attempt to compile the ClanLib example,=20 AdventureScene. I have also posted this error to the ClanLib mailing=20 list, but they're baffled as well. The error indicates there is a=20 problem linking against PThreads, but no such error occurred during the=20 build of ClanLib itself. In fact, no errors whatsoever occurred in the=20 actual building/installing of ClanLib itself, but I can't get anything=20 to actually run. pkg-config does indeed return the correct location of=20 libclanX and the header files. A complete transcript of the build/ install of the port, as well as the subsequent example compilation=20 attempt can be found at http://aaron.finch.st/clan-compile.txt Any=20 direction would be greatly appreciated. I have uninstalled/reinstalled=20 the port a couple of times just to make sure. Cheers! Aaron =2D --BEGIN ERROR-- galan# cd work/ClanLib-0.7.5/Examples/AdventureScene galan# gmake g++ `pkg-config --cflags clanApp-0.7 clanDisplay-0.7 clanCore-0.7=20 clanGL-0.7` -I/usr/X11R6/include -c scene.cpp -o scene.o g++ `pkg-config --cflags clanApp-0.7 clanDisplay-0.7 clanCore-0.7=20 clanGL-0.7` -I/usr/X11R6/include -c app.cpp -o app.o g++ `pkg-config --cflags clanApp-0.7 clanDisplay-0.7 clanCore-0.7=20 clanGL-0.7` -I/usr/X11R6/include -c player.cpp -o player.o g++ `pkg-config --cflags clanApp-0.7 clanDisplay-0.7 clanCore-0.7=20 clanGL-0.7` -I/usr/X11R6/include -c mask_object_extractor.cpp -o=20 mask_object_extractor.o mask_object_extractor.cpp: In method `class CL_Rect=20 MaskObjectExtractor::isolate_mask_object(CL_PixelBuffer &, int)': mask_object_extractor.cpp:59: warning: initialization of negative value=20 `-1' to `unsigned int' mask_object_extractor.cpp:59: warning: initialization of negative value=20 `-1' to `unsigned int' mask_object_extractor.cpp: In method `class Object *=20 MaskObjectExtractor::create_object_from_mask(const CL_Rect &,=20 CL_PixelBuffer &, CL_PixelBuffer &, int)': mask_object_extractor.cpp:117: warning: assignment of negative value=20 `-1' to `unsigned int' g++ `pkg-config --cflags clanApp-0.7 clanDisplay-0.7 clanCore-0.7=20 clanGL-0.7` -I/usr/X11R6/include scene.o app.o player.o=20 mask_object_extractor.o -o adventurescene `pkg-config --libs=20 clanApp-0.7 clanDisplay-0.7 clanCore-0.7 clanGL-0.7` scene.o: In function `Scene::Scene(basic_string, __default_alloc_template > const &,=20 basic_string,=20 __default_alloc_template > const &, basic_string, __default_alloc_template > const=20 &)': scene.o(.text+0xd5): undefined reference to=20 `CL_TargaProvider::CL_TargaProvider(basic_string, __default_alloc_template > const &,=20 CL_InputSourceProvider *, bool, bool, unsigned char, unsigned char,=20 unsigned char)' scene.o(.text+0x11e): undefined reference to=20 `CL_TargaProvider::CL_TargaProvider(basic_string, __default_alloc_template > const &,=20 CL_InputSourceProvider *, bool, bool, unsigned char, unsigned char,=20 unsigned char)' scene.o(.text+0x1b0): undefined reference to=20 `CL_TargaProvider::CL_TargaProvider(basic_string, __default_alloc_template > const &,=20 CL_InputSourceProvider *, bool, bool, unsigned char, unsigned char,=20 unsigned char)' app.o: In function `AdventureSceneApp::main(int, char **)': app.o(.gnu.linkonce.t.main__17AdventureSceneAppiPPc+0x65): undefined=20 reference to `CL_ConsoleWindow::CL_ConsoleWindow(basic_string, __default_alloc_template > const &,=20 int, int)' app.o(.gnu.linkonce.t.main__17AdventureSceneAppiPPc+0x181): undefined=20 reference to `CL_DisplayWindow::CL_DisplayWindow(basic_string, __default_alloc_template > const &,=20 int, int, bool, bool, int)' player.o: In function `Player::Player(Scene *)': player.o(.text+0x12d): undefined reference to=20 `CL_Surface::CL_Surface(basic_string,=20 __default_alloc_template > const &, CL_Surface::Hint)' /usr/local/lib/libclanCore.so: undefined reference to `pthread_create' /usr/local/lib/libclanCore.so: undefined reference to `pthread_cancel' /usr/local/lib/libclanCore.so: undefined reference to=20 `pthread_mutexattr_destroy' /usr/local/lib/libclanCore.so: undefined reference to=20 `pthread_mutexattr_setkind_np' /usr/local/lib/libclanCore.so: undefined reference to=20 `pthread_setcanceltype' /usr/local/lib/libclanCore.so: undefined reference to=20 `pthread_mutexattr_init' /usr/local/lib/libclanCore.so: undefined reference to `pthread_join' gmake: *** [adventurescene] Error 1 galan# =2D --END ERROR-- =2D----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 iQA/AwUBP7EwVYhLf0QphE19EQJLwwCg1n15vkV/jKmjdpbyP4b5rK81kSgAn1m+ xkmlYBaW1hG/BOBrQTDQ/Qji =3DsQKt =2D----END PGP SIGNATURE-----