From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E4JuX-0008UP-3n for garchives@archives.gentoo.org; Sun, 14 Aug 2005 14:56:29 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7EEskrq021353; Sun, 14 Aug 2005 14:54:46 GMT Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7EEskFl008783 for ; Sun, 14 Aug 2005 14:54:46 GMT Received: from p54B1D560.dip.t-dialin.net [84.177.213.96] (helo=frodo.mittelerde) by mrelayeu.kundenserver.de with ESMTP (Nemesis), id 0ML29c-1E4JtB1B7P-0006Vx; Sun, 14 Aug 2005 16:55:05 +0200 Received: from frodo.mittelerde (localhost [127.0.0.1]) by frodo.mittelerde (Postfix) with ESMTP id D887C17A3ED for ; Sun, 14 Aug 2005 16:53:21 +0200 (CEST) Date: Sun, 14 Aug 2005 16:53:21 +0200 From: Andreas Volz To: gentoo-user-de@lists.gentoo.org Subject: [gentoo-user-de] gtk =?ISO-8859-15?Q?f=FCr?= xmingw? Message-ID: <20050814165321.6613605a@frodo.mittelerde> X-Mailer: Sylpheed-Claws 1.0.4a (GTK+ 1.2.10; i686-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user-de@gentoo.org Reply-to: gentoo-user-de@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 X-Provags-ID: kundenserver.de abuse@kundenserver.de login:e72fc204d34a043c124708a19b5160a2 X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id j7EEskFl008783 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id j7EEsksP021353 X-Archives-Salt: 3259dbe7-a427-42f2-98c5-992407c3b0a3 X-Archives-Hash: 04326f4f1b91404c503482483c1ab32a Hi, ich versuche gerade ein Programm von mir welches auf GTKmm, libglademm und gtkglextmm basiert nach Windows zu portieren. Nachdem ich stundenlang irgendwelche Makefiles modifiziert habe ging es dann endlich, aber mir gef=E4llt das =FCberhaupt nicht. Ich w=FCrde viel liebe= r meine Anwendung unter Gentoo mit xmingw kompilieren. Leider ist dazu nichts in Portage. Schon bei dem Versuch libiconv f=FCr xmingw zu installieren scheitere ich. Das ist die Meldung: harset.c -o localcharset.o >/dev/null 2>&1 /bin/sh ../libtool --mode=3Dcompile i386-mingw32msvc-gcc -I. -I. -I.. -I./.. -I../include -I/opt/xmingw/i386-mingw32msvc/include=20 -DLIBDIR=3D\"/opt/xmingw/lib\" -DENABLE_RELOCATABLE=3D1 -DIN_LIBRARY -DINSTALLDIR=3D\"/opt/xmingw/lib\" -DNO_XMALLOC -Dset_relocation_prefix=3Dlibcharset_set_relocation_prefix -Drelocate=3Dlibcharset_relocate -DHAVE_CONFIG_H -c ./relocatable.c i386-mingw32msvc-gcc -I. -I. -I.. -I./.. -I../include -I/opt/xmingw/i386-mingw32msvc/include -DLIBDIR=3D\"/opt/xmingw/lib\" -DENABLE_RELOCATABLE=3D1 -DIN_LIBRARY -DINSTALLDIR=3D\"/opt/xmingw/lib\" -DNO_XMALLOC -Dset_relocation_prefix=3Dlibcharset_set_relocation_prefix -Drelocate=3Dlibcharset_relocate -DHAVE_CONFIG_H -c ./relocatable.c=20 -DDLL_EXPORT -DPIC -o .libs/relocatable.o ./relocatable.c:278: error: parse error before "WINAPI" ./relocatable.c:279: error: parse error before "module_handle" ./relocatable.c: In function `DllMain': ./relocatable.c:281: error: `reserved' undeclared (first use in this function) ./relocatable.c:281: error: (Each undeclared identifier is reported only once ./relocatable.c:281: error: for each function it appears in.) ./relocatable.c:283: error: `event' undeclared (first use in this function) ./relocatable.c:283: error: `DLL_PROCESS_ATTACH' undeclared (first use in this function) ./relocatable.c:288: error: `module_handle' undeclared (first use in this function) ./relocatable.c:290: error: `FALSE' undeclared (first use in this function) ./relocatable.c:299: error: `TRUE' undeclared (first use in this function) make[2]: *** [relocatable.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/xmingw-libiconv-1.9.1/work/libiconv-1.9.1/libcharset/ lib' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/xmingw-libiconv-1.9.1/work/libiconv-1.9.1/libcharset' make: *** [lib/localcharset.h] Error 2=20 Das ist mein ebuild: DESCRIPTION=3D"Win32 version of libiconv for xmingw cross-compiler" SRC_URI=3D"http://ftp.gnu.org/pub/gnu/libiconv/libiconv-${PV}.tar.gz" HOMEPAGE=3D"http://www.gnu.org/software/libiconv/" LICENSE=3D"LGPL" SLOT=3D"0" KEYWORDS=3D"~x86" IUSE=3D"" DEPEND=3D">=3Ddev-util/xmingw-runtime-3.2 dev-util/xmingw-w32api dev-util/xmingw-gcc" S=3D${WORKDIR}/libiconv-${PV} src_compile() { export PATH=3D"/opt/xmingw/bin:/opt/xmingw/i386-mingw32msvc/bin:$PATH= " export CC=3D"i386-mingw32msvc-gcc" export CXX=3D"i386-mingw32msvc-g++" unset CFLAGS unset CPPFLAGS unset CXXFLAGS unset LDFLAGS export CFLAGS=3D"-I/opt/xmingw/i386-mingw32msvc/include" export CXXFLAGS=3D"-I/opt/xmingw/i386-mingw32msvc/include" ./configure \ --prefix=3D/opt/xmingw \ --host=3Di386-mingw32msvc \ --target=3Di386-mingw32msvc=20 emake || die "make failed" } src_install() { cd ${WORKDIR}/libiconv-${PV} make prefix=3D${D}/opt/xmingw install || die "install failed" Hat vielleicht einer auch schon mal versucht GTK und co. f=FCr xmingw zu bauen und nur die Pakete nicht ver=F6ffentlicht? Irgendwie hab ich kaum Hoffnung, dass mir jemand bei diesem speziellen Problem helfen kann, aber man soll die Hoffnung nicht aufgeben... Gru=DF Andreas --=20 gentoo-user-de@gentoo.org mailing list