[Y-devel] unable to compile

Robert Wimmer seppwimmer at hotmail.com
Wed Mar 3 06:01:12 GMT 2004


hi aaron,

i think the problem is, that the linker cannot locate the libraries even for 
"normal"  c++ functions. t o check this you can write a short c++ program  ( 
add some sigc++ stuff)  and compile it. if you get similar errors you know 
that is the problem.

- check your linking paths in /etc/ld.so.conf
- check if the libraries are where the should be. for Y libY.so.xxx and 
libYc++ .so.xxx are essential
- maybe you only forgot to update the libraries. use ldconfig (-v).

bye sepp

>From: Aaron <drizzt321 at phpfreaks.com>
>To: y-devel at www.y-windows.org
>Subject: [Y-devel] unable to compile
>Date: Wed, 03 Mar 2004 00:09:39 -0500
>
>well, I am trying to compile patch-29 on my laptop, however I'm getting an 
>odd error when i try to compile. Even after I make sure I'm working with 
>100% pristine sources. compiles just fine on my desktop, however despite 
>having same g++, gcc, and all other libs that Y wants being the exact same, 
>I get this compile problem here, and not on there. I'm including the errors 
>I get, I captured them to a file. I'm including a link to the full error 
>file, as its about 259K. but here is basically what the error is:
>
>/bin/sh ../libtool --mode=link g++  -pthread -g -O0 -Wall -Wwrite-strings 
>-Wpointer-arith -Wcast-qual -Wimplicit -Wstrict-prototypes 
>-Wmissing-prototypes -W -Wno-unused -Wno-shadow -Wundef -Wpacked 
>-Wfloat-equal -Werror   -Wl,--warn-common -Wl,--fatal-warnings  -o 
>libYc++.la -rpath /usr/local/lib -Wl,--version-script=./Versions 
>-Wl,--no-undefined Y/c++/connection.lo Y/c++/object.lo Y/c++/message.lo 
>Y/c++/reply.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
>rm -fr .libs/libYc++.la .libs/libYc++.* .libs/libYc++.*
>gcc -shared  Y/c++/connection.lo Y/c++/object.lo Y/c++/message.lo 
>Y/c++/reply.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  -pthread /usr/lib/libsigc.so -lpthread  
>-Wl,--warn-common -Wl,--fatal-warnings -Wl,--version-script=./Versions 
>-Wl,--no-undefined -Wl,-soname -Wl,libYc++.so.0 -o .libs/libYc++.so.0.0.0
>Y/c++/connection.lo(.text+0xef): In function 
>`Y::Connection::Connection[not-in-charge]()':
>/usr/include/c++/3.3/bits/stl_tree.h:1048: warning: undefined reference to 
>`std::basic_string<char, std::char_traits<char>, std::allocator<char> 
> >::basic_string[in-charge]()'
>
>
>this is the top few lines. I'm running debian unstable(testing target), 
>make sure I had the latest libstdc++, g++, gcc, made sure to remove a any 
>older verions of said packages. all to no effect. any thoughts for me to 
>try?
>
>heres the link to the full error file:
>https://www.darkobjects.net/~drizzt/make.error
>
>
>Aaron
>

_________________________________________________________________
Highlight Viewer - heben Sie von Ihnen gesuchte Wörter auf Webseiten hervor. 
https://toolbar.msn.at




More information about the Y-devel mailing list









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