Re: Re: [Queue-developers] new intermediate development Queue version
Brought to you by:
wkrebs
From: QingLong <qin...@Bo...> - 2001-03-05 21:43:31
|
On Mon, Mar 05, 2001 at 06:50:46PM +0100, Kai Harrekilde-Petersen wrote: > > It looks like that you have added the variable Queue_user_id in > queued.c, > but it does not get defined, when compiling in a non-root environment. > Here's the output from make/gcc: > > gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c queued.c > gcc -g -O2 -o queued ident.o handle.o lex.o logging.o mrestart.o > pty.o qlib.o queued.o sha1.o wakeup.o -lfl getloadavg.o -lcrypt -lfl > -lnsl -lrpcsvc > queued.o: In function `main': > /home/khp/projects/queue-cvs/devel/queued.c:598: undefined reference to > `Queue_user_id' > collect2: ld returned 1 exit status > make: *** [queued] Error 1 > > Queue_user_id is defined as 'extern' in queue.h, and is used on line > 598. > However, only queue.c defines Queue_user_id, and it is not linked into > the queued executable. > Should be Queue_daemon_id, rather than Queue_user_id. Sorry. Please try it and tell us if it works. > > I'm sorry to bother you with these things, but we run with > root-squashing on NFS, and I prefer to be able to test it by > myself before passing it on to the other developers here. > That's nice that there is at least someone who runs Queue in non-root setup on a regular basis, as I do so only in test mode rather rarely. Please keep reporting. Thank you. QingLong. |