On Fri, Feb 02, 2001 at 01:42:08PM +0100, Adrian Bunk wrote:
> On Fri, 2 Feb 2001, Drew Parsons wrote:
> 
> >...
> > W: meschach: binary-has-unneeded-section ./usr/lib/libmeschach.so.1.2 .note
> > W: meschach: binary-has-unneeded-section ./usr/lib/libmeschach.so.1.2 
> > .comment
> >
> >
> > I got no idea whatsoever what the second two messages mean.  I'm compiling
> > the library with flags -fPIC to get a shared library.  What's all this about
> > uneeded sections, notes and comments?
> 
> These are sections you can remove when you strip it.
> 
...
> 
> That means you should do a
> 
> strip --remove-section=.comment --remove-section=.note --strip-unneeded  
> debian/tmp/usr/lib/libmeschach.so.1.2
> 

Oh, that makes sense, then.  It's a rather old package, and debian/rules is
a bit of a mess, has no debhelper tools.  All it had was the two lines:
    strip --strip-debug *.a 
    strip --strip-unneeded *.so         
                
Would the stripping all be done automatically and properly if I just ran
dh_strip on its own? 

I'm starting to think it might be better to just do ./debian/ all over again
afresh.

> 
> PS: Sorry that the lines are too long but I didn't see a good way to break
>     them.
> 


No problem :)


Drew


-- 
PGP public key available at http://dparsons.webjump.com/drewskey.txt
Fingerprint: A110 EAE1 D7D2 8076 5FE0  EC0A B6CE 7041 6412 4E4A

Reply via email to