Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Oct 2006 19:17:50 +0100 (BST)
From:      mark@darklogik.org
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/104582: devel/ode fails to build (linker error)
Message-ID:  <20061019181750.AA47F6229@logik.internal.network>
Resent-Message-ID: <200610191820.k9JIK8hv068695@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         104582
>Category:       ports
>Synopsis:       devel/ode fails to build (linker error)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 19 18:20:08 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     markzero
>Release:        FreeBSD 6.1-SECURITY i386
>Organization:
n/a
>Environment:
System: FreeBSD logik.internal.network 6.1-SECURITY FreeBSD 6.1-SECURITY #0: Mon Aug 28 05:21:08 UTC 2006 root@builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386

>Description:

devel/ode fails to build due to an undefined reference.
somebody who knows the codebase better than i do should be able
to fix this easily.

>How-To-Repeat:

$ uname -smir
FreeBSD 6.1-SECURITY i386 GENERIC
$ sudo make
Password:
===>  Found saved configuration for ode-0.7,1
===>  Extracting for ode-0.7,1
=> MD5 Checksum OK for ode-src-0.7.zip.
=> SHA256 Checksum OK for ode-src-0.7.zip.
===>   ode-0.7,1 depends on executable in : unzip - found
===>  Patching for ode-0.7,1
===>   ode-0.7,1 depends on executable in : gmake - found
===>   ode-0.7,1 depends on shared library: X11.6 - found
===>  Configuring for ode-0.7,1
checking build system type... i386-portbld-freebsd6.1
checking host system type... i386-portbld-freebsd6.1
checking target system type... i386-portbld-freebsd6.1
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether gmake sets $(MAKE)... yes
checking for style of include used by gmake... GNU
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking dependency style of cc... gcc3
checking whether byte ordering is bigendian... no
checking how to run the C preprocessor... cc -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking whether gmake sets $(MAKE)... (cached) yes
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking for windres... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working volatile... yes
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for ranlib... ranlib
checking for size_t... yes
checking if a soname should be set... no
checking alloca.h usability... no
checking alloca.h presence... no
checking for alloca.h... no
checking ieeefp.h usability... yes
checking ieeefp.h presence... yes
checking for ieeefp.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking for string.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking values.h usability... no
checking values.h presence... no
checking for values.h... no
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking if OPCODE support is requested... yes
checking if gyroscopic term should be used... yes
checking if double precision is requested... no
checking for appropriate dInfinity constant... FLT_MAX
checking for float.h... (cached) yes
checking for appropriate dEpsilon constant... FLT_EPSILON
checking for a Pentium CPU... yes
checking for a x86-64 CPU... no
checking if building a release library... no
checking if building a debug library... no
checking for char... yes
checking size of char... 1
checking for int... yes
checking size of int... 4
checking for short... yes
checking size of short... 2
checking for long int... yes
checking size of long int... 4
checking for void*... yes
checking size of void*... 4
checking which drawstuff lib to build... X11
checking for the suffix of shared libraries... .so
checking for GL/gl.h... yes
checking for GL/glu.h... yes
checking for GL/glext.h... yes
checking for main in -lGL... yes
checking for main in -lGLU... yes
checking for main in -lopengl32... no
checking for main in -lglu32... no
checking for main in -lXmu... yes
checking for main in -lXi... yes
checking for main in -lX... no
checking for main in -lX11... yes
checking for main in -lcomctl32... no
checking for main in -lkernel32... no
checking for main in -luser32... no
checking for main in -lgdi32... no
checking for main in -lwinmm... no
checking for main in -lstdc++... yes
checking for main in -lm... yes
checking for main in -pthread... yes
checking for gprof... no
checking for floor... yes
checking for memmove... yes
checking for memset... yes
checking for select... yes
checking for sqrt... yes
checking for sqrtf... yes
checking for sinf... yes
checking for cosf... yes
checking for fabsf... yes
checking for atan2f... yes
checking for fmodf... yes
checking for copysignf... yes
checking for copysign... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for gettimeofday... yes
checking for isnan... yes
checking for isnanf... yes
checking for _isnan... no
checking for _isnanf... no
checking for working alloca.h... no
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for obstacks... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for vprintf... yes
checking for _doprnt... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating include/ode/Makefile
config.status: creating ode/Makefile
config.status: creating ode/src/Makefile
config.status: creating drawstuff/Makefile
config.status: creating drawstuff/src/Makefile
config.status: creating drawstuff/dstest/Makefile
config.status: creating ode/test/Makefile
config.status: creating ode-config
config.status: creating include/ode/config.h
config.status: executing depfiles commands
Configuration:
  Target system type:      i386-portbld-freebsd6.1
  Build  system type:      i386-portbld-freebsd6.1
  Host   system type:      i386-portbld-freebsd6.1
  Use double precision:    no
  Use OPCODE:              yes
  Use gyroscopic term:     yes
  Is this a Pentium:       yes
  Is the CPU x86-64:       no
  Is this a release build: no
  Is this a debug build:   no
  Using SONAME:		  no
  Headers will be installed in /usr/X11R6/include/ode
  Libraries will be installed in /usr/X11R6/lib
===>  Building for ode-0.7,1
Making all in include
gmake[1]: Entering directory `/usr/ports/devel/ode/work/ode-0.7/include'
Making all in ode
gmake[2]: Entering directory `/usr/ports/devel/ode/work/ode-0.7/include/ode'
gmake  all-am
gmake[3]: Entering directory `/usr/ports/devel/ode/work/ode-0.7/include/ode'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory `/usr/ports/devel/ode/work/ode-0.7/include/ode'
gmake[2]: Leaving directory `/usr/ports/devel/ode/work/ode-0.7/include/ode'
gmake[2]: Entering directory `/usr/ports/devel/ode/work/ode-0.7/include'
gmake[2]: Nothing to be done for `all-am'.
gmake[2]: Leaving directory `/usr/ports/devel/ode/work/ode-0.7/include'
gmake[1]: Leaving directory `/usr/ports/devel/ode/work/ode-0.7/include'
Making all in drawstuff
gmake[1]: Entering directory `/usr/ports/devel/ode/work/ode-0.7/drawstuff'
Making all in src
gmake[2]: Entering directory `/usr/ports/devel/ode/work/ode-0.7/drawstuff/src'
if c++ -DHAVE_CONFIG_H -I. -I. -I../../include/ode -I../../include   -I/usr/X11R6/include -I../../include -I../../include -O -pipe -march=pentium3 -I/usr/X11R6/include -L/usr/X11R6/lib -MT libdrawstuff_a-drawstuff.o -MD -MP -MF ".deps/libdrawstuff_a-drawstuff.Tpo" -c -o libdrawstuff_a-drawstuff.o `test -f 'drawstuff.cpp' || echo './'`drawstuff.cpp; \
	then mv -f ".deps/libdrawstuff_a-drawstuff.Tpo" ".deps/libdrawstuff_a-drawstuff.Po"; else rm -f ".deps/libdrawstuff_a-drawstuff.Tpo"; exit 1; fi
if c++ -DHAVE_CONFIG_H -I. -I. -I../../include/ode -I../../include   -I/usr/X11R6/include -I../../include -I../../include -O -pipe -march=pentium3 -I/usr/X11R6/include -L/usr/X11R6/lib -MT libdrawstuff_a-x11.o -MD -MP -MF ".deps/libdrawstuff_a-x11.Tpo" -c -o libdrawstuff_a-x11.o `test -f 'x11.cpp' || echo './'`x11.cpp; \
	then mv -f ".deps/libdrawstuff_a-x11.Tpo" ".deps/libdrawstuff_a-x11.Po"; else rm -f ".deps/libdrawstuff_a-x11.Tpo"; exit 1; fi
rm -f libdrawstuff.a
ar cru libdrawstuff.a libdrawstuff_a-drawstuff.o  libdrawstuff_a-x11.o  
ranlib libdrawstuff.a
gmake[2]: Leaving directory `/usr/ports/devel/ode/work/ode-0.7/drawstuff/src'
Making all in dstest
gmake[2]: Entering directory `/usr/ports/devel/ode/work/ode-0.7/drawstuff/dstest'
if c++ -DHAVE_CONFIG_H -I. -I. -I../../include/ode -I../../include   -I/usr/X11R6/include -I../../include -I../.. -O -pipe -march=pentium3 -I/usr/X11R6/include -L/usr/X11R6/lib -MT dstest-dstest.o -MD -MP -MF ".deps/dstest-dstest.Tpo" -c -o dstest-dstest.o `test -f 'dstest.cpp' || echo './'`dstest.cpp; \
	then mv -f ".deps/dstest-dstest.Tpo" ".deps/dstest-dstest.Po"; else rm -f ".deps/dstest-dstest.Tpo"; exit 1; fi
c++  -O -pipe -march=pentium3 -I/usr/X11R6/include -L/usr/X11R6/lib   -o dstest -L../../drawstuff/src dstest-dstest.o -ldrawstuff   -lGL -lGLU -lXmu -lXi -lX11 -L/usr/X11R6/lib -lstdc++ -lm -pthread  -L/usr/X11R6/lib -lstdc++ -lm -pthread
dstest-dstest.o(.text+0x367): In function `simLoop(int)':
: undefined reference to `dsDrawCapsule'
gmake[2]: *** [dstest] Error 1
gmake[2]: Leaving directory `/usr/ports/devel/ode/work/ode-0.7/drawstuff/dstest'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/devel/ode/work/ode-0.7/drawstuff'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop in /usr/ports/devel/ode.

>Fix:

sorry, no fix known yet. i'm not familiar with the codebase.
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061019181750.AA47F6229>