Re: autogen.sh error
On 24/02/2010 20:01, Yaakov (Cygwin/X) wrote: On 2010-02-24 10:41, J. Offerman wrote: The rdynamic thing is harmless. The error was about undefined symbols. That's a different story entirely... This is what the build log says: -- Making all in hw Making all in xwin Making all in vfb LINK Xvfb.exe gcc: unrecognized option `-rdynamic' ../../mi/.libs/libmi.a(miexpose.o): In function `miPaintWindow': /usr/src/xorg-server-1.7.3-1/src/xorg-server-1.7.3/mi/miexpose.c:555: undefined reference to `_IsFramedWindow' /usr/src/xorg-server-1.7.3-1/src/xorg-server-1.7.3/mi/miexpose.c:556: undefined reference to `_RootlessStartDrawing' /usr/src/xorg-server-1.7.3-1/src/xorg-server-1.7.3/mi/miexpose.c:557: undefined reference to `_RootlessDamageRegion' /usr/src/xorg-server-1.7.3-1/src/xorg-server-1.7.3/mi/miexpose.c:562: undefined reference to `_RootlessSetPixmapOfAncestors' collect2: ld returned 1 exit status make[3]: *** [Xvfb.exe] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 -- I can see those functions in miext/rootless so it looks like librootless is somehow not linked in? This is some upstream breakage, courtesy of XQuartz :-) Yes, known issue with 1.7+. Currently XWin (if -mwextwm support is enabled) needs to be built in a separate pass from the other DDXs, as my .cygport does. If you don't care about about -mwextwm, then uninstall the windowswmproto package and rebuild. Or if you're not interested in building xvfb and xnest, you can ./configure with --disable-xnest --disable-xvfb. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: autogen.sh error
On 2010-02-24 10:41, J. Offerman wrote: The rdynamic thing is harmless. The error was about undefined symbols. That's a different story entirely... This is what the build log says: -- Making all in hw Making all in xwin Making all in vfb LINK Xvfb.exe gcc: unrecognized option `-rdynamic' ../../mi/.libs/libmi.a(miexpose.o): In function `miPaintWindow': /usr/src/xorg-server-1.7.3-1/src/xorg-server-1.7.3/mi/miexpose.c:555: undefined reference to `_IsFramedWindow' /usr/src/xorg-server-1.7.3-1/src/xorg-server-1.7.3/mi/miexpose.c:556: undefined reference to `_RootlessStartDrawing' /usr/src/xorg-server-1.7.3-1/src/xorg-server-1.7.3/mi/miexpose.c:557: undefined reference to `_RootlessDamageRegion' /usr/src/xorg-server-1.7.3-1/src/xorg-server-1.7.3/mi/miexpose.c:562: undefined reference to `_RootlessSetPixmapOfAncestors' collect2: ld returned 1 exit status make[3]: *** [Xvfb.exe] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 -- I can see those functions in miext/rootless so it looks like librootless is somehow not linked in? Yes, known issue with 1.7+. Currently XWin (if -mwextwm support is enabled) needs to be built in a separate pass from the other DDXs, as my .cygport does. If you don't care about about -mwextwm, then uninstall the windowswmproto package and rebuild. Yaakov Cygwin/X -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: autogen.sh error
On Tue, Feb 23, 2010 at 10:06 PM, J. Offerman wrote: > > With those packages installed now, I was able to compile XWin.exe and > it is running fine. But I saw a couple of gcc errors saying "-rdynamic > is not a recognized option" or something when the build process was > building in hw/vfb and hw/xnest. I had to yank out those two > directories from the build process by manually editing hw/Makefile. > Can you help on this? The rdynamic thing is harmless. The error was about undefined symbols. This is what the build log says: -- Making all in hw Making all in xwin Making all in vfb LINK Xvfb.exe gcc: unrecognized option `-rdynamic' ../../mi/.libs/libmi.a(miexpose.o): In function `miPaintWindow': /usr/src/xorg-server-1.7.3-1/src/xorg-server-1.7.3/mi/miexpose.c:555: undefined reference to `_IsFramedWindow' /usr/src/xorg-server-1.7.3-1/src/xorg-server-1.7.3/mi/miexpose.c:556: undefined reference to `_RootlessStartDrawing' /usr/src/xorg-server-1.7.3-1/src/xorg-server-1.7.3/mi/miexpose.c:557: undefined reference to `_RootlessDamageRegion' /usr/src/xorg-server-1.7.3-1/src/xorg-server-1.7.3/mi/miexpose.c:562: undefined reference to `_RootlessSetPixmapOfAncestors' collect2: ld returned 1 exit status make[3]: *** [Xvfb.exe] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 -- I can see those functions in miext/rootless so it looks like librootless is somehow not linked in? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: autogen.sh error
On 2010-02-24 00:06, J. Offerman wrote: With those packages installed now, I was able to compile XWin.exe and it is running fine. But I saw a couple of gcc errors saying "-rdynamic is not a recognized option" or something when the build process was building in hw/vfb and hw/xnest. I had to yank out those two directories from the build process by manually editing hw/Makefile. Can you help on this? The -rdynamic flag is equivalent to -Wl,--export-dynamic, which is an ELF-specific ld option and is not supported on PE/COFF platforms such as Cygwin. But those aren't errors, and gcc should just emit the message and continue. Yaakov Cygwin/X -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: autogen.sh error
On Tue, Feb 23, 2010 at 6:19 PM, Jon TURNEY wrote: > On 24/02/2010 01:44, J. Offerman wrote: >> >> I'm trying to compile Xserver. Following the guide on >> http://x.cygwin.com/docs/cg/prog-obtaining-source.html, I tried to run >> autogen.sh and got errors. First, I got this error saying: >> >> configure.ac:42: error: must install xorg-macros 1.2 or later before >> running autoconf/autogen >> >> So I ran the cygwin setup again and obtained xorg-macros and ran >> autogensh again, then I got this: >> >> -- >> joffer...@dell> ./autogen.sh -V >> autoreconf-2.65: Entering directory `.' >> autoreconf-2.65: configure.ac: not using Gettext >> autoreconf-2.65: running: aclocal --force -I m4 >> configure.ac:84: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not >> m4_defun'd > > I'd guess you don't have pkg-config installed? > > If so, you should go ahead and install everything mentioned on the previous > page (http://x.cygwin.com/docs/cg/prog-build-prerequisites.html), you are > going to need them all... Thanks, there were others missing too. I have compiled Xserver on this machine before, I guess they've added new packages in the required list. With those packages installed now, I was able to compile XWin.exe and it is running fine. But I saw a couple of gcc errors saying "-rdynamic is not a recognized option" or something when the build process was building in hw/vfb and hw/xnest. I had to yank out those two directories from the build process by manually editing hw/Makefile. Can you help on this? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: autogen.sh error
On 24/02/2010 01:44, J. Offerman wrote: I'm trying to compile Xserver. Following the guide on http://x.cygwin.com/docs/cg/prog-obtaining-source.html, I tried to run autogen.sh and got errors. First, I got this error saying: configure.ac:42: error: must install xorg-macros 1.2 or later before running autoconf/autogen So I ran the cygwin setup again and obtained xorg-macros and ran autogensh again, then I got this: -- joffer...@dell> ./autogen.sh -V autoreconf-2.65: Entering directory `.' autoreconf-2.65: configure.ac: not using Gettext autoreconf-2.65: running: aclocal --force -I m4 configure.ac:84: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd I'd guess you don't have pkg-config installed? If so, you should go ahead and install everything mentioned on the previous page (http://x.cygwin.com/docs/cg/prog-build-prerequisites.html), you are going to need them all... -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
autogen.sh error
I'm trying to compile Xserver. Following the guide on http://x.cygwin.com/docs/cg/prog-obtaining-source.html, I tried to run autogen.sh and got errors. First, I got this error saying: configure.ac:42: error: must install xorg-macros 1.2 or later before running autoconf/autogen So I ran the cygwin setup again and obtained xorg-macros and ran autogensh again, then I got this: -- joffer...@dell> ./autogen.sh -V autoreconf-2.65: Entering directory `.' autoreconf-2.65: configure.ac: not using Gettext autoreconf-2.65: running: aclocal --force -I m4 configure.ac:84: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd /usr/share/aclocal/fontutil.m4:275: XORG_FONTROOTDIR is expanded from... configure.ac:84: the top level autoreconf-2.65: configure.ac: tracing configure.ac:84: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd aclocal.m4:296: XORG_FONTROOTDIR is expanded from... configure.ac:84: the top level autoreconf-2.65: running: libtoolize --copy --force libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: putting macros in `m4'. libtoolize: copying file `m4/libtool.m4' libtoolize: copying file `m4/ltoptions.m4' libtoolize: copying file `m4/ltsugar.m4' libtoolize: copying file `m4/ltversion.m4' libtoolize: copying file `m4/lt~obsolete.m4' libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. configure.ac:84: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd /usr/share/aclocal/fontutil.m4:275: XORG_FONTROOTDIR is expanded from... configure.ac:84: the top level autoreconf-2.65: running: /usr/bin/autoconf-2.65 --force configure.ac:84: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd aclocal.m4:296: XORG_FONTROOTDIR is expanded from... configure.ac:84: the top level configure.ac:654: error: possibly undefined macro: XTRANS_CONNECTION_FLAGS If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf-2.65: /usr/bin/autoconf-2.65 failed with exit status: 1 -- Can anyone tell me what's wrong? Thanks for your help. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/