Bug 81014 - wxgtk26 (and wxgtk26-unicode) compile errors
Summary: wxgtk26 (and wxgtk26-unicode) compile errors
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Max Khon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-14 14:10 UTC by ganael.laplanche
Modified: 2005-05-16 16:14 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ganael.laplanche 2005-05-14 14:10:00 UTC
	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.

Fix: 

No fix at the moment.
How-To-Repeat: 	Install x11-toolkits/wxgtk26 or x11-toolkits/wxgtk26-unicode (on amd64 ?).
Comment 1 ganael.laplanche 2005-05-14 15:30:17 UTC
>Fix:

This is due to libexecinfo-1.1_1 which provides /usr/local/include/execinfo.h.
If this happens to you and you have libexecinfo-1.1_1, just uninstall it and
everything should work fine. Maybe this CONFLICT could managed in the port itself ?
Comment 2 Mark Linimon freebsd_committer 2005-05-14 19:28:14 UTC
Responsible Changed
From-To: freebsd-bugs->fjoe

Change category and assign.
Comment 3 Max Khon freebsd_committer 2005-05-16 16:13:51 UTC
State Changed
From-To: open->closed

Should be fixed in wxgtk2-2.6.0_1.