• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: X11-users Digest, Vol 4, Issue 175
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: X11-users Digest, Vol 4, Issue 175


  • Subject: Re: X11-users Digest, Vol 4, Issue 175
  • From: Andy Fore <email@hidden>
  • Date: Wed, 7 Nov 2007 09:31:52 -0500

Ben,

Thanks a bunch for the patch. I was able to successfully build Xnest this morning using the new code. However there are still issues when building Xephyr.

Using the following configure command:

./configure --prefix=/usr/X11 --enable-xnest=yes --enable-kdrive=yes -- enable-xephyr=yes --with-mesa-source=`pwd`/../Mesa-6.5.2

I get this after doing a make:

Undefined symbols:
  "_DarwinHandleGUI", referenced from:
      _main in libdix.a(main.o)
  "_DarwinGlxWrapInitVisuals", referenced from:
      _InitVisualWrap in libkdrive.a(miinitext.o)
  "_kaaPixmapPrivateIndex", referenced from:
      _kaaPixmapPrivateIndex$non_lazy_ptr in libkdrive.a(koffscreen.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [Xephyr] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

I realize that Xnest will do what I need in terms of connecting to the console of the remote servers, but I was really hoping to use Xephyr. Correct me if I am wrong but from what I have been reading we should use Xephyr instead of Xnest since it supports more of the modern xserver calls.

Thanks,
Andy

------

There is always Music amongst the trees in the Garden, but our hearts must be very quiet to hear it. - Minnie Aumonier

Andy Fore
email@hidden

On Nov 7, 2007, at 6:14 AM, email@hidden wrote:

Message: 4
Date: Wed, 07 Nov 2007 02:42:23 -0800
From: Ben Byer <email@hidden>
Subject: Re: Xvfb linking (Was Re: X11 source code: structure,
	building)
To: X11 List Mailing <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

On Nov 6, 2007, at 9:01 PM, Jeremy Huddleston wrote:

Yeah, I just tried building Xnest and Xvfb and noticed the linking
problem Ben mentioned.  I'm a bit busy with some deadlines myself,
but I can try putting together a patch to get it to build on osx
soon.  It looks mainly like it needs to be coerced to do -framework
OpenGL during linking.  I've cleared up most of the missing symbols,
but here are a few which I'm not quite sure where they live.  Anyone
have a suggestion?


Yeah, I found it -- the patch is:

http://gitweb.freedesktop.org/?p=xorg/xserver.git;a=commit;h=be688397ef252020565197b4c036cd813d3d7d66

--- a/configure.ac
+++ b/configure.ac
@@ -656,7 +656,7 @@ if test "x$GLX" = xyes && ! test "x$MESA
PKG_CHECK_MODULES([GL], [glproto >= 1.4.8])
AC_SUBST(XLIB_CFLAGS)
AC_DEFINE(GLXEXT, 1, [Build GLX extension])
- GLX_LIBS='$(top_builddir)/GL/apple/indirect.o $(top_builddir)/GL/ glx/
libglx.la'
+ GLX_LIBS='$(top_builddir)/GL/glx/libglx.la $(top_builddir)/GL/mesa/
libGLcore.la'
test -d GL || mkdir GL
case $host_os in
solaris*)
@@ -1645,7 +1645,8 @@ return 0;}
# LDFLAGS=$save_LDFLAGS
# ])
xorg_cv_AGL_framework=no
- DARWIN_LIBS="$MI_LIB $OS_LIB $DIX_LIB $FB_LIB $FIXES_LIB $XEXT_LIB
$CONFIG_LIB $DBE_LIB $XTRAP_LIB $RECORD_LIB $GLX_LIBS $RENDER_LIB
$RANDR_LIB $DAMAGE_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB
$XKB_LIB $XKB_STUB_LIB $COMPOSITE_LIB $XPSTUBS_LIB"
+ DARWIN_GLX_LIBS='$(top_builddir)/GL/apple/indirect.o $ (top_builddir)/
GL/glx/libglx.la'
+ DARWIN_LIBS="$MI_LIB $OS_LIB $DIX_LIB $FB_LIB $FIXES_LIB $XEXT_LIB
$CONFIG_LIB $DBE_LIB $XTRAP_LIB $RECORD_LIB $RENDER_LIB $RANDR_LIB
$DAMAGE_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB
$XKB_STUB_LIB $COMPOSITE_LIB $XPSTUBS_LIB $DARWIN_GLX_LIBS"
AC_SUBST([DARWIN_LIBS])
AC_CHECK_LIB([Xplugin],[xp_init],[:])
AC_SUBST([APPLE_APPLICATIONS_DIR])
--- a/mi/miinitext.c
+++ b/mi/miinitext.c
@@ -338,7 +338,7 @@ extern void XFree86DGAExtensionInit(INIT
#endif
#ifdef GLXEXT
typedef struct __GLXprovider __GLXprovider;
-#if defined(__DARWIN__) && !defined(INXQUARTZ)
+#if defined(__DARWIN__) && defined(INXDARWINAPP)
extern __GLXprovider* __DarwinglXMesaProvider;
extern void DarwinGlxPushProvider(__GLXprovider *impl);
extern void DarwinGlxExtensionInit(INITARGS);
@@ -632,7 +632,7 @@ InitExtensions(argc, argv)
#endif
#endif
#ifdef GLXEXT
-#if defined(__DARWIN__) && !defined(INXQUARTZ)
+#if defined(__DARWIN__) && defined(INXDARWINAPP)
DarwinGlxPushProvider(__DarwinglXMesaProvider);
if (!noGlxExtension) DarwinGlxExtensionInit();
#else


Let me know if that doesn't work for you. -b
--
Ben Byer
CoreOS / BSD Technology Group, XDarwin maintainer
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
This email sent to email@hidden


  • Follow-Ups:
    • Xephyr, was Re: X11-users Digest, Vol 4, Issue 175
      • From: Ben Byer <email@hidden>
  • Prev by Date: Announcing 1.2a7 (many bug fixes!)
  • Next by Date: DPI Override
  • Previous by thread: Re: Announcing 1.2a7 (many bug fixes!)
  • Next by thread: Xephyr, was Re: X11-users Digest, Vol 4, Issue 175
  • Index(es):
    • Date
    • Thread