From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Oct 23 12:19:05 2006 Return-Path: X-Original-To: freebsd-ports-bugs@FreeBSD.org 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 5CB1716A40F; Mon, 23 Oct 2006 12:19:05 +0000 (UTC) (envelope-from markzero@corolla.ath.cx) Received: from addr9.addr.com (addr9.addr.com [38.113.244.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9982643D58; Mon, 23 Oct 2006 12:19:04 +0000 (GMT) (envelope-from markzero@corolla.ath.cx) Received: from logik.internal.network (localhost [127.0.0.1]) by addr9.addr.com (8.12.11/8.12.8/Submit) with ESMTP id k9NCIs9F081338; Mon, 23 Oct 2006 05:18:59 -0700 (PDT) Received: by logik.internal.network (Postfix, from userid 1001) id BC0426105; Mon, 23 Oct 2006 13:18:44 +0100 (BST) Date: Mon, 23 Oct 2006 13:18:43 +0100 From: mark@darklogik.org To: Jose Alonso Cardenas Marquez Message-ID: <20061023121843.GA74836@logik.internal.network> References: <200610191820.k9JIKQeG068922@freefall.freebsd.org> <20061020211946.80931c0c.acm@FreeBSD.org> <20061022124948.GA82527@logik.internal.network> <20061023020141.53bed829.acm@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061023020141.53bed829.acm@FreeBSD.org> X-ADDRSPAMFilter: Passed Cc: freebsd-ports-bugs@FreeBSD.org, edwin@FreeBSD.org Subject: Re: ports/104582: devel/ode fails to build (linker error) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Oct 2006 12:19:05 -0000 Hi. Well, there's some small progress at least. If I go into 'drawstuff/dstest' to manually compile the offending program, I can compile it fine with: c++ -o dstest dstest.cpp -I../../include ../src/libdrawstuff.a \ -I/usr/X11R6/include -L/usr/X11R6/lib -lGL -lGLU -lXmu -lXi -lX11 Continuing the build from this point by going back into the parent directory and typing 'make' works up until 'test_collision.cpp' where this error occurs: Making all in test if g++ -DHAVE_CONFIG_H -I. -I. -I../../include/ode -g -O2 -I/usr/X11R6/include -L/usr/X11R6/lib -I../../include -I../../include -g -O2 -I/usr/X11R6/include -L/usr/X11R6/lib -MT test_collision.o -MD -MP -MF ".deps/test_collision.Tpo" -c -o test_collision.o test_collision.cpp; then mv -f ".deps/test_collision.Tpo" ".deps/test_collision.Po"; else rm -f ".deps/test_collision.Tpo"; exit 1; fi test_collision.cpp: In function `void draw_all_objects(dxSpace*)': test_collision.cpp:185: error: `dCapsuleClass' undeclared (first use this function) test_collision.cpp:185: error: (Each undeclared identifier is reported only once for each function it appears in.) test_collision.cpp:188: error: `dGeomCapsuleGetParams' undeclared (first use this function) test_collision.cpp: In function `int test_ccylinder_point_depth()': test_collision.cpp:340: error: `dCreateCapsule' undeclared (first use this function) test_collision.cpp:347: error: `dGeomCapsuleSetParams' undeclared (first use this function) test_collision.cpp:358: error: `dGeomCapsulePointDepth' undeclared (first use this function) test_collision.cpp: In function `int test_ray_and_ccylinder()': test_collision.cpp:750: error: `dCreateCapsule' undeclared (first use this function) test_collision.cpp:758: error: `dGeomCapsuleSetParams' undeclared (first use this function) test_collision.cpp:798: error: `dGeomCapsulePointDepth' undeclared (first use this function) test_collision.cpp: In function `int test_dBoxBox()': test_collision.cpp:1184: error: `dBoxBox' undeclared (first use this function) *** Error code 1 This can be compiled with this command line: c++ -o test_collision test_collision.cpp -I../../include ../src/libode.a \ ../../drawstuff/src/libdrawstuff.a -L/usr/X11R6/lib -lGL -lGLU But it doesn't actually run: ./test_collision testing batch 1 (1000 reps)... ODE INTERNAL ERROR: bad n wrt p3 Abort trap (core dumped) I'm completely lost when it comes to ode. The build system seems to be unnecessarily complicated. M