pan-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pan-users] pan-0.14.2 won't link on NetBSD


From: Frederick Bruckman
Subject: [Pan-users] pan-0.14.2 won't link on NetBSD
Date: Fri, 14 Nov 2003 10:17:45 -0600 (CST)

I'm having trouble getting pan to build against the NetBSD packaged
gtk2 and friends:

gcc -g -O2 -I.  -o pan action.o article-actions.o article-find.o
 article-toolbar.o articlelist.o auth-spa.o filter-ui.o
 filter-mediator.o filter-edit-ui.o flagset.o group-action.o group-ui.o
 grouplist.o gui.o gui-headers.o gui-notebook.o gui-paned.o
 header-pane-renderer.o log-ui.o message-check-ui.o message-window.o
 messageidset.o nntp.o pan.o pan-color-picker.o pan-font-picker.o
 pan-charset-picker.o pan-file-entry.o pan-pixbufs.o prefs.o print.o
 queue.o save-ui.o score-add-ui.o score-view-ui.o server-ui.o
 server-menu-ui.o smtp.o sockets.o socket-pool.o status-item-view.o
 task.o task-bodies.o task-cancel.o task-save.o task-grouplist.o
 task-group-count.o task-headers.o task-post.o task-manager.o
 task-state.o task-xml.o text.o util.o dialogs/libdialogs.a
 rules/librules.a filters/libfilters.a identities/libidentities.a
 base/libpanbase.a ../gmime/libgmime.a -lintl -Wl,-R/usr/pkg/lib
 -L/usr/pkg/lib -lgtkspell -lpspell -lgtk-x11-2.0 -lgdk-x11-2.0
 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0
 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -lm -Wl,-R/usr/pkg/lib
 -L/usr/pkg/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0
 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0
 -lglib-2.0 -lintl -lm -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lxml2 -lz -lm
 -Wl,-R/usr/pkg/lib -pthread -L/usr/pkg/lib -lgthread-2.0 -lgobject-2.0
 -lglib-2.0 -lintl -lm -Wl,-R/usr/pkg/lib -pthread -L/usr/pkg/lib
 -lgnet-2.0 -lgthread-2.0 -lglib-2.0 -lintl -lm
/usr/lib/libstdc++.so.5: undefined reference to `_Unwind_GetIP'
/usr/lib/libstdc++.so.5: undefined reference to `_Unwind_Resume_or_Rethrow'
/usr/lib/libstdc++.so.5: undefined reference to `_Unwind_GetRegionStart'
/usr/pkg/lib/libaspell.so.15: undefined reference to `_Unwind_Resume'
/usr/lib/libstdc++.so.5: undefined reference to `_Unwind_DeleteException'
/usr/lib/libstdc++.so.5: undefined reference to `_Unwind_RaiseException'
/usr/lib/libstdc++.so.5: undefined reference to `_Unwind_SetIP'
/usr/lib/libstdc++.so.5: undefined reference to `_Unwind_GetTextRelBase'
/usr/lib/libstdc++.so.5: undefined reference to 
`_Unwind_GetLanguageSpecificData'
/usr/lib/libstdc++.so.5: undefined reference to `_Unwind_SetGR'
/usr/lib/libstdc++.so.5: undefined reference to `_Unwind_GetDataRelBase'
*** Error code 1

Stop.
make: stopped in /p/pan-0.14.2/pan

That's on NetBSD-current(1.6ZE) w/gcc-3.3.2nb1. No doubt this has
something to do with the fact that 1) libgtkspell and libaspell are
C++ libraries; and 2) NetBSD builds libgcc static. I can make it link,
on NetBSD 1.6ZE, by changing CCLD in "pan/Makefile" to "c++", but even
that trick doesn't work on NetBSD 1.6.1 w/gcc-2.95.3. (It still can't
resolve symbol "__pure_virtual".)

This isn't just for me... The above error is with an out-of-the-box
build, but I'm really trying to fix the NetBSD "pan" package. It also
works to disable gtkspell with the configure argument. Does gtkspell
work for other platforms using gcc-3.2.2 (perhaps with shared libgcc)?
Should we be building gtkspell differently?

Thanks in advance for sharing any ideas you may have on this.

Frederick




reply via email to

[Prev in Thread] Current Thread [Next in Thread]