On Mon, 2008-06-02 at 11:48 +0200, Joachim Breitner wrote:
> Hi,
> 
> I got a last build problem for the Debian package, this time on s390,
> and the problem appears in a different package: gtkrsync does not build,
> and the maintainer believes the problem lies within the gtk2hs package:
> 
> http://buildd.debian.org/fetch.cgi?pkg=gtkrsync;ver=1.0.2;arch=s390;stamp=1210904919
> 
> It has happened before and it was believed that gcc-4.1 was the problem,
> but this build happened with 4.3.
> 
> If someone here could please comment on that? (and please keep the
> bugs.debian.org-address in the CC?)


make[1]: Entering directory `/build/buildd/gtkrsync-1.0.2'
ghc -package Cabal Setup.lhs -o setup
./setup configure --prefix=/usr
Configuring gtkrsync-1.0.0...
./setup build
[1 of 4] Compiling RsyncParser      ( RsyncParser.hs, 
dist/build/gtkrsync/gtkrsync-tmp/RsyncParser.o )
[2 of 4] Compiling Paths_gtkrsync   ( dist/build/autogen/Paths_gtkrsync.hs, 
dist/build/gtkrsync/gtkrsync-tmp/Paths_gtkrsync.o )
[3 of 4] Compiling RsyncGUI         ( RsyncGUI.hs, 
dist/build/gtkrsync/gtkrsync-tmp/RsyncGUI.o )
[4 of 4] Compiling Main             ( ./gtkrsync.hs, 
dist/build/gtkrsync/gtkrsync-tmp/Main.o )
Linking dist/build/gtkrsync/gtkrsync ...
dist/build/gtkrsync/gtkrsync-tmp/RsyncGUI.o: In function `RsyncGUI_a4_entry':
ghc18648_0.hc:(.text+0x99c): undefined reference to 
`gtkzm0zi9zi12zi1_GraphicsziUIziGtkziWindowsziMessageDialog_a4_entry'
ghc18648_0.hc:(.text+0x9a4): undefined reference to 
`gtkzm0zi9zi12zi1_GraphicsziUIziGtkziWindowsziMessageDialog_MessageError_closure'

My guess would be that the Haskell gtk package might be hidden in ghc's
package list and therefore is not automatically linked in when building
this program. I don't know what changed with ghc 6.10 (which seems to
be the version that you're building with). It could also be that the
Gtk2Hs version was built with a different version of ghc. I wouldn't
blame gcc here since this error either relates to symbols having change
between versions of ghc or providing insufficient libraries to the
linker.

Axel.



> Thanks,
> Joachim
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________ Gtk2hs-devel mailing list 
> [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to