Skip site navigation (1)Skip section navigation (2)
Date:      24 Apr 2002 23:43:43 -0300
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Franz Klammer <klammer@webonaut.com>
Cc:        gnome@FreeBSD.ORG
Subject:   Re: gnomecore-1.4.0.7 problem compiling with Xinerma-support
Message-ID:  <1019702624.297.2.camel@gyros.marcuscom.com>
In-Reply-To: <1019689678.3199.44.camel@ncc-1701.webonaut.com>
References:  <1019689678.3199.44.camel@ncc-1701.webonaut.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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 <<EOF
 #line 9305 "configure"
 #include "confdefs.h"

--=-dgsNE4glP8/tZAo2vJ3o--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1019702624.297.2.camel>