From owner-freebsd-gnome Wed Apr 24 20:16:39 2002 Delivered-To: freebsd-gnome@freebsd.org Received: from gyros.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158]) by hub.freebsd.org (Postfix) with ESMTP id DDADA37B416 for ; Wed, 24 Apr 2002 20:16:32 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by gyros.marcuscom.com (8.12.3/8.12.3) with ESMTP id g3P2hht9021822; Wed, 24 Apr 2002 22:43:44 -0400 (EDT) (envelope-from marcus@marcuscom.com) Subject: Re: gnomecore-1.4.0.7 problem compiling with Xinerma-support From: Joe Marcus Clarke To: Franz Klammer Cc: gnome@FreeBSD.ORG In-Reply-To: <1019689678.3199.44.camel@ncc-1701.webonaut.com> References: <1019689678.3199.44.camel@ncc-1701.webonaut.com> Content-Type: multipart/mixed; boundary="=-dgsNE4glP8/tZAo2vJ3o" X-Mailer: Ximian Evolution 1.0.3 Date: 24 Apr 2002 23:43:43 -0300 Message-Id: <1019702624.297.2.camel@gyros.marcuscom.com> Mime-Version: 1.0 Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-dgsNE4glP8/tZAo2vJ3o Content-Type: text/plain Content-Transfer-Encoding: 7bit On Wed, 2002-04-24 at 20:07, Franz Klammer wrote: > since the upgrade to gnomcore-1.4.0.7 i have problem with the > Xinerama-support. > > the panles spans now over all my two displays. > > attached an excerpt of the config.log. > > all my ports are up to date. except libiconv: 1.7_2 > but i don't think that's the problem ;-) Here is a patch. Maxim, may I commit this? Joe > > franz > > -- > WEBONAUT.com > http://webonaut.com > mailto:klammer@webonaut.com > ---- > > > configure output: > ================= > checking for X11/extensions/Xinerama.h... yes > checking for XineramaQueryScreens in -lXinerama... no > > > config.log: > =========== > > > configure:9269: checking for X11/extensions/Xinerama.h > configure:9279: cc -E -I/usr/local/include -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include conftest.c >/dev/null 2>conftest.out > configure:9297: checking for XineramaQueryScreens in -lXinerama > configure:9316: cc -o conftest -O -pipe -march=pentiumpro -I/usr/X11R6/include -Wall -Wunused -I/usr/local/include -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include -L/usr/X11R6/lib conftest.c -lXinerama -L/usr/local/lib 1>&5 > /usr/X11R6/lib/libXinerama.a(Xinerama.o): In function `find_display': > Xinerama.o(.text+0x14): undefined reference to `XextCreateExtension' > Xinerama.o(.text+0x33): undefined reference to `XextFindDisplay' > Xinerama.o(.text+0x58): undefined reference to `XextAddDisplay' > /usr/X11R6/lib/libXinerama.a(Xinerama.o): In function `close_display': > Xinerama.o(.text+0x78): undefined reference to `XextRemoveDisplay' > /usr/X11R6/lib/libXinerama.a(Xinerama.o): In function `XPanoramiXQueryVersion': > Xinerama.o(.text+0xf2): undefined reference to `XMissingExtension' > Xinerama.o(.text+0x12a): undefined reference to `_XFlush' > Xinerama.o(.text+0x165): undefined reference to `_XReply' > /usr/X11R6/lib/libXinerama.a(Xinerama.o): In function `XPanoramiXGetState': > Xinerama.o(.text+0x236): undefined reference to `XMissingExtension' > Xinerama.o(.text+0x26e): undefined reference to `_XFlush' > Xinerama.o(.text+0x2a7): undefined reference to `_XReply' > /usr/X11R6/lib/libXinerama.a(Xinerama.o): In function `XPanoramiXGetScreenCount': > Xinerama.o(.text+0x362): undefined reference to `XMissingExtension' > Xinerama.o(.text+0x39a): undefined reference to `_XFlush' > Xinerama.o(.text+0x3d3): undefined reference to `_XReply' > /usr/X11R6/lib/libXinerama.a(Xinerama.o): In function `XPanoramiXGetScreenSize': > Xinerama.o(.text+0x48e): undefined reference to `XMissingExtension' > Xinerama.o(.text+0x4c6): undefined reference to `_XFlush' > Xinerama.o(.text+0x505): undefined reference to `_XReply' > /usr/X11R6/lib/libXinerama.a(Xinerama.o): In function `XineramaIsActive': > Xinerama.o(.text+0x629): undefined reference to `_XFlush' > Xinerama.o(.text+0x65c): undefined reference to `_XReply' > /usr/X11R6/lib/libXinerama.a(Xinerama.o): In function `XineramaQueryScreens': > Xinerama.o(.text+0x706): undefined reference to `XMissingExtension' > Xinerama.o(.text+0x73e): undefined reference to `_XFlush' > Xinerama.o(.text+0x771): undefined reference to `_XReply' > Xinerama.o(.text+0x7f4): undefined reference to `_XRead' > Xinerama.o(.text+0x84c): undefined reference to `_XEatData' > configure: failed program was: > #line 9305 "configure" > #include "confdefs.h" > /* Override any gcc2 internal prototype to avoid an error. */ > /* We use char because int might match the return type of a gcc2 > builtin and then its argument prototype would still apply. */ > char XineramaQueryScreens(); > > int main() { > XineramaQueryScreens() > ; return 0; } > > > > -- PGP Key: http://www.marcuscom.com/pgp.asc --=-dgsNE4glP8/tZAo2vJ3o Content-Disposition: attachment; filename=patch-configure Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; name=patch-configure; charset=ISO8859-1 --- configure.orig Wed Apr 24 22:37:56 2002 +++ configure Wed Apr 24 22:40:48 2002 @@ -9299,7 +9299,7 @@ echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS=3D"$LIBS" -LIBS=3D"-lXinerama $PANEL_LIBS $LIBS" +LIBS=3D"-lXinerama -lXext $PANEL_LIBS $LIBS" cat > conftest.$ac_ext <