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

[altq 423] Re: Altq-2.1 and rsvp tools link errors




Cambria, Mike wrote

> The link errors result from the definition of log as log_write.  Did I
> missed something?  Did I screw something up?  I know I can work around these
> problems, but do others see the same thing?  I so, I wanted to call it to
> your attention.  If I am the only one, I will start looking for what I did
> wrong.
> 
> The first case looks like it is simply the log() function being redefined
> from the logarithm lib call to the log_write call.
> 
> The second case is altq defining where logging is to be done.  However, altq
> never patched this function into the rsvp distribution.  The function
> log_write does exist, in altqd.c, but doesn't end up in libaltq (which rsvpd
> does link against.)


We were confronted with the same problem yesterday. If you
make altqd in altqd directory, you have no problem. ...
log_write is included in altqd.c. However if you want to
use libaltq.a ouside the altqd directory, then you need to
borrow log_write and some other global variables.  I think
Mr. Kenjiro Cho will fix the problem immediately.

Regards,

--------
Hiroto Aida, Tokuda Lab., Keio University, Japan