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

Re: g++ won't compile. How do I fix it?



> 
>  How do I fix this?  What's wrong?
> 
> bash-2.00$ g++ --help
> ld: warning: libm.so.5, needed by /usr/lib/libg++.so, may conflict with libm.so.6
> /lib/libm.so.5: warning: erfl is not implemented and will always fail
> /usr/lib/crt1.o(.text+0x36): undefined reference to `main'
> /lib/libm.so.5: undefined reference to `__getfpucw'


I *think* this means you've got a screwed up libc6 development stuf.
My first guess would be that you've get libg++27-dev + libg++27
(the libc5 versions) installed, while you have a libc6 g++ (2.7.2.2).

To correct, just remove libg++27-dev, install libg++272 and libg++272-dev

The libg++272 versions can be found on master's incoming, or
on it's mirror:
  ftp://cfni.com/pub/linux/debian/Incoming


-- 
joost witteveen, joostje@debian.org
#!/usr/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
#what's this? see http://www.dcs.ex.ac.uk/~aba/rsa/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: