[Y-devel] problem compiling Y 0.2

Martin Rasp mr at linux-fuer-alle.de
Sun Feb 22 19:35:00 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

I tried to compile Y 0.2 under Debian GNU/Linux 3.0.
Therefore I compiled freetype 2.1.7 and installed missing debian packages.

ii  gcc            2.95.4-14      The GNU C compiler.
ii  gcc-2.95       2.95.4-11woody The GNU C compiler.
ii  libgcc1        3.0.4-7        GCC support library.
ii  g++            2.95.4-14      The GNU C++ compiler.
ii  g++-2.95       2.95.4-11woody The GNU C++ compiler.
ii  libsdl1.2-dev  1.2.4-1        Simple DirectMedia Layer development files
ii  libsdl1.2debia 1.2.4-1        Simple DirectMedia Layer
ii  libsdl1.2debia 1.2.4-1        Simple DirectMedia Layer (with X11 and OSS

The compile process was started by the following command:

./configure --prefix=/usr/local/y --with-freetype-prefix=/usr/local/y/

Configuration:

  Detected OS:      linux-gnu
  Install prefix:   /usr/local/y
  CFLAGS:           -pthread -g -O2
  CXXFLAGS:         -pthread -g -O2
  LDFLAGS:

Shortly after executing "make" I got the lines below:

Making all in libYc++
make[1]: Entering directory `/tmp/Y-0.2/libYc++'
/bin/sh ../libtool --mode=link g++  -pthread -g -O2    -o libYc++.la
- -rpath /usr/local/y/lib -Wl,-Bsymbolic -Wl,--version-script=./Versions
- -Wl,--no-undefined Y/c++/y.lo Y/c++/object.lo Y/c++/widget.lo Y/c++/
window.lo Y/c++/canvas.lo Y/c++/label.lo Y/c++/button.lo Y/c++/checkbox.lo
Y/c++/console.lo Y/c++/gridlayout.lo Y/c++/menu.lo -lsigc -lpthread ../
libY/libY.la
g++ -shared -nostdlib /usr/lib/crti.o /usr/lib/gcc-lib/i386-linux/2.95.4/
crtbeginS.o  Y/c++/.libs/y.o Y/c++/.libs/object.o Y/c++/.libs/widget.o Y/c+
+/.libs/window.o Y/c++/.libs/canvas.o Y/c++/.libs/label.o Y/c++/.libs/
button.o Y/c++/.libs/checkbox.o Y/c++/.libs/console.o Y/c++/.libs/
gridlayout.o Y/c++/.libs/menu.o  -Wl,--rpath -Wl,/tmp/Y-0.2/libY/.libs
- -Wl,--rpath -Wl,/usr/local/y/lib -pthread /usr/lib/libsigc.so -lpthread ../
libY/.libs/libY.so -L/usr/lib/gcc-lib/i386-linux/2.95.4 -lstdc++ -lm -lc
- -lgcc /usr/lib/gcc-lib/i386-linux/2.95.4/crtendS.o /usr/lib/crtn.o
- -Wl,-Bsymbolic -Wl,--version-script=./Versions -Wl,--no-undefined
- -Wl,-soname -Wl,libYc++.so.0 -o .libs/libYc++.so.0.0.0
/usr/bin/ld:./Versions:5: parse error in VERSION script
collect2: ld returned 1 exit status
make[1]: *** [libYc++.la] Error 1
make[1]: Leaving directory `/tmp/Y-0.2/libYc++'
make: *** [all-recursive] Error 1

What's wrong with that Version Script?

I also tried to install the deb packages from the source repositories 
mentioned in the faq. Unfortunately they require newer glibc and other 
packages (from Debian testing or unstable?).

Martin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see https://www.gnupg.org

iD8DBQFAOQRkRqiZxpiH/1ERAimHAJ4uEMCBXBm08CxrBBK7C+j/RpwDSgCggA/H
LzVKfznd2+GL+PmRYO3d+bY=
=nB/o
-----END PGP SIGNATURE-----



More information about the Y-devel mailing list









2026 © www.Y-Windows.Org - All Rights Reserved