[Y-devel] Compile Error
Doug Goldstein cardoe at cardoe.com
Sun Feb 22 03:44:25 GMT 2004
You're missing the depend on libiterm-mbt version 0.5. You can get it here.
https://www.doc.ic.ac.uk/~mbt99/Y/src/iterm-0.5-mbt.tar.gz
-Doug
P.S. Info about this is available on the FAQ and Download page.
Eric Lathrop wrote:
>Thanks! (I'm using the 0.2 from the Y web page, it doesn't list any
>other 0.2) Now it errors compiling the terminal part:
>
>terminal.cc: In member function `void Terminal::keyPress(YKeyCode,
>unsigned int)':
>terminal.cc:142: `VTK_HOME' undeclared (first use this function)
>terminal.cc:142: (Each undeclared identifier is reported only once for
>each function it appears in.)
>terminal.cc:144: `VTK_END' undeclared (first use this function)
>terminal.cc:149: `VTK_PAGE_UP' undeclared (first use this function)
>terminal.cc:155: `VTK_PAGE_DOWN' undeclared (first use this function)
>terminal.cc:158: `VTK_DELETE' undeclared (first use this function)
>terminal.cc:160: `VTK_INSERT' undeclared (first use this function)
>make[2]: *** [terminal.o] Error 1
>make[2]: Leaving directory `/home/xyu/Y-0.2/clients/terminal'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/home/xyu/Y-0.2/clients'
>make: *** [all-recursive] Error 1
>
>
>
>
>
>>Goto /home/xyu/Y-0.2/libYc++, there is a Versions file.
>>
>>I altered it, so it looked like this:
>>
>>LIBYCXX_0.2_0 {
>> global:
>> _init;
>> _fini;
>> Y::*;
>> *;
>>};
>>
>>This may be rude, but works :)
>>
>>
>>On Sat, 21 Feb 2004 15:55:20 -0500
>>Eric Lathrop <eric at ericlathrop.com> wrote:
>>
>>
>>
>>>I get the following error trying to compile 0.2:
>>>
>>>/bin/sh ../libtool --mode=link g++ -pthread -g -O2 -o
>>>libYc++.la-rpath /usr/local/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-L/usr/local/lib -lsigc -lpthread
>>>../libY/libY.la g++ -shared-nostdlib
>>>/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../crti.o/usr/lib/gc
>>>c-lib/i686-pc-linux-gnu/3.2/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,/home/xyu/Y-0.2/libY/.libs-L/usr/src/packages/gcc-build/gcc
>>>-L/usr/src/packages/gcc-build/i686-pc-linux-gnu/libstdc++-v3/src/
>>>.libs-L/usr/src/packages/gcc-build/i686-pc-linux-gnu/libstdc++-v3
>>>/src-pthread -L/usr/local/lib /usr/local/lib/libsigc.so -lpthread
>>>../libY/.libs/libY.so -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2
>>>-L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../..
>>>/usr/lib/libstdc++.so -lm -lc -lgcc_s
>>>/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/crtendS.o
>>>/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../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 `/home/xyu/Y-0.2/libYc++'
>>>make: *** [all-recursive] Error 1
>>>
>>>I have no idea what a VERSION script is. Any idea why it's broken?
>>>
>>>
>>>--
>>>
>>> --Eric Lathrop
>>> EricLathrop.com
>>>
>>>
>>>_______________________________________________
>>>Y-devel mailing list
>>>Y-devel at www.y-windows.org
>>>https://www.y-windows.org/mailman/listinfo/y-devel
>>>
>>>
>>>
>>>
>>>
>>--
>>-- Ne szidd. Irj jobbat. --
>>
>>
>>
>>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.y-windows.org/pipermail/y-devel/attachments/20040221/39a2ef9f/attachment.htm
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved