[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

how do I compile with libc6?



Hi!


ok, I tried to compile the little hello.cc example from libgtkmm-dev. 

I ran g++ hello.cc -lgtkmm -o hello -I/usr/lib/glib/include and got:

/usr/bin/ld: warning: libc.so.5, needed by /usr/lib/libc5-compat/libXi.so.6,
may conflict with libc.so.6
/lib/libc.so.5: the getwd' function is dangerous and should not be used.
/lib/libc.so.5: the gets' function is dangerous and should not be used.
/lib/libc.so.5: warning: siggetmask' is obsolete; sigprocmask' is best

shouldn't g++ try to link with libc6?

I recently copied and updated the copy from bo to hamm using autoup.sh.
maybe I broke something? BTW: updating with dselects mount method (and a
slinghly imperfect mirror) is a real hassle! Why didn't I use apt-get from
the beginning?

At least I had to run ldconfig by hand, since an ldd on a freshly compiled
classic hello_world (stabdard C) said it was neither a.out nor ELF :-(

I have no libc5-*dev installed - so what did I do wrong?

some versions:
	gcc:		2.7.2.3-4
	g++:		2.90.27-0.3
	binutils:	2.8.1.0.23-1
	libc6:		2.0.7pre1-4
	libgtk1:	0.99.9-1
	libgtkmm:	0.7.18-1

Regards
 Rainer

-- 
KeyID=58341901 fingerprint=A5 57 04 B3 69 88 A1 FB  78 1D B5 64 E0 BF 72 EB


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: