Re: [Queue-developers] new intermediate development Queue version
Brought to you by:
wkrebs
From: Kai Harrekilde-P. <kh...@ex...> - 2001-03-05 17:49:19
|
Hi QingLong, 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=20 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. 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. Regards, Kai --=20 Kai Harrekilde-Petersen <kh...@ex...> Exbit Technology A/S |