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

weird compilation problem



Trying to compile a particular bit of C++ software;

[6:32pm] root@hamishpc:~/tmp/bttv/XTV# make
rm -f xtvscreen
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?

thanks,
Hamish
-- 
Hamish Moffatt VK3TYD              hamish@debian.org, hamish@rising.com.au
Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5
CCs of replies from mailing lists are welcome.   http://hamish.home.ml.org


Reply to: