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

Re: lintian question



> First one: it means you have a shared library in your package without
> providing dependency information about it.  In this case it shouldn't
How do I go about creaing this info?

> Second one: shared library objects are compiled in a special way
> (command line option -fPIC) so that they can be shared.  The object it 
> is complaining about includes code that can not be shared.  This would 
Hmm.  Not as fixed as I thought.  The relevant makefile includes:

CFLAGS = -Wall -fPIC -g
LDFLAGS = -shared -Wl,-Bstatic

Petal.o : Petal.c
        $(CC) $(CFLAGS) -c -o Petal.o Petal.c

Petal.so : Petal.o
        $(LD) $(LDFLAGS) Petal.o -o Petal.so

Any idea why it's not compiled as shareable?  "ldd Petal.so" gives:
ldd: warning: you do not have execution permission for `./Petal.so'
	statically linked

                     					Will


--------------------------------------------------------------------------
|             harpo@udel.edu lowe@cis.udel.edu lowe@debian.org           |
|			http://www.cis.udel.edu/~lowe/		         |
|    PGP Public Key:  http://www.cis.udel.edu/~lowe/index.html#pgpkey    |
--------------------------------------------------------------------------
|           You think you're so smart,  but I've seen you naked          |
|                  and I'll prob'ly see you naked again ...              |
|                 --The Barenaked Ladies,  "Blame It On Me"              |
--------------------------------------------------------------------------


Reply to: