On Wed, 5 Apr 2000, [EMAIL PROTECTED] wrote:

> -On [20000405 17:35], Lars Clausen ([EMAIL PROTECTED]) wrote:
>>On Wed, 5 Apr 2000, [EMAIL PROTECTED] wrote:
>>
>>> select.c:23: menu.h: No such file or directory
>>> 
>>> Which is right, since it is menus.h
>>> 
>>> Was there a commit to select.c or is my just cvs checkedout version
>>> stale in some way?
>>
>>Well noticed -- you must have been the first to not have
>>/usr/include/menu.h.  Now if somebody would explain to me why 
>>
>>#include "menu.h"
> 
> That's according to ANSI spec IIRC.  <> will always mean system headers,
> "" means local first, then system.  I might be off of course. ;)

Yer' right!

> updating now, but even when I fixed this by hand I still got:
> 
> gcc -g -O2 -Wall -Wunused -Winline -Wmissing-prototypes
...
> paginate_psprint.o: In function `diagram_print_ps':
> /work/asmodai/dia-test/app/paginate_psprint.c(.text+0x994): undefined
> reference to `dirname'
> 
> I tried to add something like char *dirname; to the function, but to no
> avail.  Any ideas?  I am not that familiar yet with the code, but I am
> intending on providing clean up patches in the next few weeks.

Oh, that's a non-standard function, then.  I guess g_dirname would be a
better choice.  Here you go...

-Lars

-- 
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause) | H�rdgrim of Numenor
"I do not agree with a word that you say, but I    | Retainer of Sir Kegg
will defend to the death your right to say it."    |   of Westfield
    --Evelyn Beatrice Hall paraphrasing Voltaire   | Chaos Berserker of Khorne

Reply via email to