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

Re: How to compile succesfully with libc6???



> Hi,
> 
> I am having a heck of a time trying to compile some of the orphaned
> packages I took over. In this case it is ncpfs but yesterday I had problems
> with Samba (my unofficial version for the latest version of Samba).
> 
> It's always the same: lots of redefinitions in the include files, lots of
> warning messages from gcc and sometimes, even errors.

Often this is because, the source is #includeing both <linux/foo.h> and 
system/foo.h> or <foo.h>. When you're lucky, you can just remove
the <linux/foo.h>. Otherwise, I usually search around a bit with
   grep symbol `find . -type f`
in the /usr/include directory, an "symbol" being the multiple defined
symbol.

> Can anyone can give an advice on how to fix these problems? It looks to 
> me like that besides packaging for Debian, I also have to fix the source
> code to make it compile against glibc2.

Welcome to life!

There are also notes in /usr/doc/libc6/FAQ.gz (see Q8, Q9).


-- 
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-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: