Re: weird compilation problem
*-Hamish Moffatt <hamish@debian.org>
|
| c++ -o xtvscreen -O2 -fno-strength-reduce -L/usr/X11R6/lib xtvscreen.o visual.o TVscreen.o channel.o callbacks.o allwidgets.o snap.o sound.o -ljpeg -lXm
| -lXpm -lXext -lX11 -lXt -lSM -lICE -lXxf86dga -lm -lX11 -ljpeg -lXm -lXpm -lXext -lX11 -lXt -lSM -lICE -lXxf86dga -lm -lX11
| /usr/bin/ld: cannot open -lstdc++: No such file or directory
| collect2: ld returned 1 exit status
| make: *** [xtvscreen] Error 1
|
| [6:32pm] root@hamishpc:~/tmp/bttv/XTV# dpkg -l | grep stdc++
| ii libstdc++2.8 2.90.29-1 The GNU stdc++ library (old egcs version)
| ii libstdc++2.9 2.91.58-3 The GNU stdc++ library (egcs version)
| ii libstdc++2.9-de 2.91.58-3 The GNU stdc++ library (development files)
|
| The appropriate symlinks seem to exist in /usr/lib; what am I missing?
What version of g++? It should probably be the same as libstc++2.9*.
AFAICT it's not supposed to link with libstc++:
[olet@niels-henrik] ~/tmp> ldd a.out
libstdc++-libc6.0-1.so.2 => /usr/lib/libstdc++-libc6.0-1.so.2 (0x40011000)
libm.so.6 => /lib/libm.so.6 (0x40053000)
libc.so.6 => /lib/libc.so.6 (0x4006b000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
--
...Unix, MS-DOS, and MS Windows (also known as the Good, the Bad,
and the Ugly). (Matt Welsh)
olet@ifi.uio.no [-: .elOle. :-] olet@debian.org
Reply to: