Re: Compiling start-stop-daemon
On Fri, Jun 16, 2000 at 10:40:35PM -0700, Kevin Musick wrote:
> To all,
> I'm attempting to compile start-stop-daemon by itself, apart from the rest
> of the dpkg package. As a result, I'm not using the Makefile, but just
> calling gcc directly. I'm using the line:
Your mail is missing the line.
> I get linker errors that ihash and proc_stat_* functions are not found.
> I've attempted to:
> gcc -Wall -l libihash.so start-stop-daemon.c
You should probably take a look at the Makefile anyway. When you link to
libs, you only specify the basename (ihash). You also need some more libs:
gcc -Wall -lshouldbeinlibc -lps -lihash start-stop-daemon.c
`Rhubarb is no Egyptian god.' Debian http://www.debian.org Check Key server
Marcus Brinkmann GNU http://www.gnu.org for public PGP Key
Marcus.Brinkmann@ruhr-uni-bochum.de, firstname.lastname@example.org PGP Key ID 36E7CD09