[Y-devel] unable to compile

Gunnar Selke gunnar at gmx.info
Wed Mar 3 07:22:07 GMT 2004


I got the same problem using Slackware 9.

A workaround that works for me is changing "LIBS =" into "LIBS = 
-lstdc++ -lgcc_s" in libYc++/Makefile.

-Gunnar

Aaron wrote:

> 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
>
>




More information about the Y-devel mailing list









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