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

Re: weird compilation problem



On Thu, Nov 19, 1998 at 09:02:50AM +0100, Ole J. Tetlie wrote:
> *-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++:

Hmm. Why would that library exist otherwise? (I'm confused). I will try
updating the g++ and see if that helps.


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: