-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. ;)
>would include from /usr/include, I'd be interested. But you were right, it
>should have been menus.h. Try another checkout now.
Ok,
updating now, but even when I fixed this by hand I still got:
gcc -g -O2 -Wall -Wunused -Winline -Wmissing-prototypes
-Wmissing-declarations -finline-functions -o dia connectionpoint_ops.o
diagram.o commands.o app_procs.o preferences.o load_save.o
disp_callbacks.o layer_dialog.o display.o select.o color_area.o
linewidth_area.o lineprops_area.o grid.o group.o handle_ops.o
interface.o modify_tool.o scroll_tool.o properties.o defaults.o
create_object.o magnify.o menus.o cut_n_paste.o object_ops.o
render_gdk.o render_libart.o render_eps.o render_svg.o export_png.o
undo.o tool.o diapagelayout.o diaunitspinner.o pagesetup.o filedlg.o
gtkwrapbox.o gtkhwrapbox.o gtkvwrapbox.o paginate_psprint.o main.o
../lib/libdia.a -L/usr/local/lib -lxml -lz -L/usr/X11R6/lib
-L/usr/X11R6/lib -lgtk12 -lgdk12 -L/usr/local/lib -Wl,-E -lgmodule12
-lglib12 -lintl -lxpg4 -lXext -lX11 -lm ../intl/libintl.a
-L/usr/X11R6/lib -lgdk_imlib -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk12
-lgdk12 -L/usr/local/lib -Wl,-E -lgmodule12 -lglib12 -lintl -lxpg4
-lXext -lX11 -lm -L/usr/local/lib -L/usr/X11R6/lib -lart_lgpl -lm
-Wl,--export-dynamic
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.
--
Jeroen Ruigrok van der Werven Network- and systemadministrator
<[EMAIL PROTECTED]> VIA NET.WORKS The Netherlands
BSD: Technical excellence at its best http://www.bart.nl
Buried deep are the Souls that are waiting for you...