Compile problems with loadavg/setproctitle stuff

Russ Allbery rra at stanford.edu
Fri Aug 30 02:38:20 UTC 2002


Jeffrey M Vinocur <jeff at litech.org> writes:

> Russ, are you sure you committed everything?  I'm getting 

> ...
> gcc -g -O2 -I../include   -I/usr/include   -c -o nnrpd.o nnrpd.c
> nnrpd.c:48: warning: static declaration for `getloadavg' follows 
> non-static

I'm not sure what's up with that one... it sounds like you don't have
getloadavg but some header prototypes it?

> ...
> nnrpd.o: In function `main':
> /home/jeff/inn/current/inn/nnrpd/nnrpd.c:831: undefined reference to 
> `setproctitle_init'

Thought I'd included the right header file, but apparently not.  Should
work now.  I don't know how I missed that.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>

    Please send questions to the list rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.


More information about the inn-workers mailing list