
Hi, I compiled successful the wxHaskell lib. But when I want to start ghci -package wx following error occurs: Loading package concurrent-1.0 ... linking ... done. Loading package wxcore-0.9 ... linking ... ghc-6.4.20050320: /home/izbifs/scheibe/built/lib/wxcore2.o: unknown symbol `wxcWakeUpIdle' *** Deleting temp files Deleting: ghc-6.4.20050320: unable to load package `wxcore-0.9' I have a running wxHaskell home. Same configuration... wxGtk version, wxhaskell version, same config options except of the prefix. In university it is installed local but I set the LD_LIBRARY_PATH. How can I figure out what's wrong? Can find out where and why the function `wxcWakeUpIdle' is available home and where are the differences? Has anybody a good hint where to start or what to check? Any help is welcome Cheers Patrick PS: Additional informations.. i386 GNU/Linux Fedora gtk+-1.2.10-33 gtk+-devel-1.2.10-33 wxGTK-2.4.2 wxHaskell 0.9 ghc version 6.4.20050320

Hi Patrick,
After taking your advice the other day, this is where I got to as
well. I am having almost exactly the same problem. If I had to guess
I would say that wxcore2.a isn't linked with or can't see a library or
object file containing wxcWakeUpIdle. What lib and where it's
_supposed_ to be I'm not sure.
Here's what I get on winXP when I issue ghci -package wx ...
C:\Documents and Settings\Jeff Lasslett>ghci -package wx
___ ___ _
/ _ \ /\ /\/ __(_)
/ /_\// /_/ / / | | GHC Interactive, version 6.4, for Haskell 98.
/ /_\\/ __ / /___| | http://www.haskell.org/ghc/
\____/\/ /_/\____/|_| Type :? for help.
Loading package base-1.0 ... linking ... done.
Loading package haskell98-1.0 ... linking ... done.
Loading package mtl-1.0 ... linking ... done.
Loading package lang-1.0 ... linking ... done.
Loading package QuickCheck-1.0 ... linking ... done.
Loading package util-1.0 ... linking ... done.
Loading package data-1.0 ... linking ... done.
Loading package concurrent-1.0 ... linking ... done.
Loading package wxcore-0.9 ... linking ... ghc.exe:
C:/cygwin/usr/local/lib/wxcore2.o: unknown symbol `_wxcWakeUpIdle'
ghc.exe: unable to load package `wxcore-0.9'
C:\Documents and Settings\Jeff Lasslett>
To the list, any help sorting this out would be appreciated.
Cheers,
Jeff
On Apr 2, 2005 7:37 AM, Patrick Scheibe
Hi,
I compiled successful the wxHaskell lib. But when I want to start ghci -package wx following error occurs:
Loading package concurrent-1.0 ... linking ... done. Loading package wxcore-0.9 ... linking ... ghc-6.4.20050320: /home/izbifs/scheibe/built/lib/wxcore2.o: unknown symbol `wxcWakeUpIdle' *** Deleting temp files Deleting: ghc-6.4.20050320: unable to load package `wxcore-0.9'
I have a running wxHaskell home. Same configuration... wxGtk version, wxhaskell version, same config options except of the prefix. In university it is installed local but I set the LD_LIBRARY_PATH.
How can I figure out what's wrong? Can find out where and why the function `wxcWakeUpIdle' is available home and where are the differences?
Has anybody a good hint where to start or what to check?
Any help is welcome Cheers Patrick
PS: Additional informations..
i386 GNU/Linux Fedora gtk+-1.2.10-33 gtk+-devel-1.2.10-33 wxGTK-2.4.2 wxHaskell 0.9 ghc version 6.4.20050320 _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

jeff lasslett
Hi Patrick,
After taking your advice the other day, this is where I got to as well. I am having almost exactly the same problem. If I had to guess I would say that wxcore2.a isn't linked with or can't see a library or object file containing wxcWakeUpIdle. What lib and where it's _supposed_ to be I'm not sure.
I get basially the same problem on Suse 9.2 machine, although the symbol wxcWakeUpIdle is defined in libwxc-gtk2.5.2-0.9.so. Karl M. Syring

Hi,
I think Patrick pointed out the solution in [1] in the wx-user-mailing list. The thing was that the package file had a bug and did not specify the extra libraries with the correct label. Therefore libwxc-gtk2.5.2-0.9.so is not linked to your program, I think.
Georg
[1] http://sourceforge.net/mailarchive/forum.php?thread_id=6974580&forum_id=34197
On Tue, 19 Apr 2005 14:14:27 +0000 (UTC), Karl M.Syring
jeff lasslett
writes: Hi Patrick,
After taking your advice the other day, this is where I got to as well. I am having almost exactly the same problem. If I had to guess I would say that wxcore2.a isn't linked with or can't see a library or object file containing wxcWakeUpIdle. What lib and where it's _supposed_ to be I'm not sure.
I get basially the same problem on Suse 9.2 machine, although the symbol wxcWakeUpIdle is defined in libwxc-gtk2.5.2-0.9.so.
Karl M. Syring
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
-- ---- Georg Martius, Tel: (+49 34297) 89434 ---- ------- http://www.flexman.homeip.net ---------
participants (4)
-
Georg Martius
-
jeff lasslett
-
Karl M.Syring
-
Patrick Scheibe