Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 May 2005 15:09:34 +0200 (CEST)
From:      Ganael LAPLANCHE <ganael.laplanche@martymac.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   misc/81014: wxgtk26 (and wxgtk26-unicode) compile errors
Message-ID:  <20050514130934.B3C4F207@mail.martymac.com>
Resent-Message-ID: <200505141310.j4EDA15o022764@freefall.freebsd.org>

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

>Number:         81014
>Category:       misc
>Synopsis:       wxgtk26 (and wxgtk26-unicode) compile errors
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 14 13:10:00 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Ganael LAPLANCHE
>Release:        FreeBSD 5.4-STABLE amd64
>Organization:
None
>Environment:
System: FreeBSD 5.4-STABLE amd64

>Description:
	I'm trying to install x11-toolkits/wxgtk26 and x11-toolkits/wxgtk26-unicode and getting linking errors :

[...]
gmake[1]: Entering directory
`/usr/ports/x11-toolkits/wxgtk26-unicode/work/wxGTK-2.6.0/utils/wxrc'
c++ -o wxrc wxrc_wxrc.o -L/usr/local/lib -liconv  -L/usr/X11R6/lib    
-L../../lib   -lwx_baseu_xml-2.6 -lexpat -lwx_baseu-2.6        -lwxregexu-2.6 
-L/usr/local/lib -liconv  -L/usr/X11R6/lib 
-Wl,--version-script,../../version-script -lz -pthread -lm
../../lib/libwx_baseu-2.6.so: undefined reference to `backtrace_symbols'
../../lib/libwx_baseu-2.6.so: undefined reference to `backtrace'
gmake[1]: *** [wxrc] Error 1
gmake[1]: Leaving directory
`/usr/ports/x11-toolkits/wxgtk26-unicode/work/wxGTK-2.6.0/utils/wxrc'
[...]

Here is the output of the configure step of the port :

[...]
checking for --enable-backtrace... yes
[...]
checking for backtrace() in <execinfo.h>... yes
[...]

The port installs anyway, but the wxrc binary specified in pkg-plist isn't built, which leads to a "pkg-plist" incomplete error when deinstalling the port.

I'm getting exactly the same "undefined reference" errors while trying to link an app (aMule2) to wxgtk26 ; everything worked perfectly with the previous "-devel" version of wxgtk2 : wxgtk2-2.5.3.

>How-To-Repeat:
	Install x11-toolkits/wxgtk26 or x11-toolkits/wxgtk26-unicode (on amd64 ?).
>Fix:

	No fix at the moment.


>Release-Note:
>Audit-Trail:
>Unformatted:



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