Subject: compilation of tightvnc - OpenMotif.def file problem
To: None <netbsd-users@netbsd.org>
From: Lubos Vrbka <shnek@tiscali.cz>
List: netbsd-users
Date: 02/11/2004 13:31:36
hi guys,

i have a question. i tried to compile tightvnc today and got following error:

===> Configuring for tightvnc-1.2.6
imake -DUseInstalled -I/usr/X11R6/lib/X11/config
In file included from /usr/X11R6/lib/X11/config/host.def:2,
                  from /usr/X11R6/lib/X11/config/site.def:56,
                  from /usr/X11R6/lib/X11/config/Imake.tmpl:45,
                  from Imakefile.c:13:
/usr/X11R6/lib/X11/config/OpenMotif.def:4: invalid preprocessing directive #defined
....
/usr/X11R6/lib/X11/config/X11.tmpl:3132: warning: extra tokens at end of #ifndef 
directive
/usr/X11R6/bin/imake: Exit code 1.
   Stop.
*** Error code 1

this is the same error reported in 
http://mail-index.netbsd.org/tech-pkg/2003/12/06/0001.html
where it was for kde3 build. after changing
	# defined
on the appropriate line to
	# define
everything works fine. is the # defined directive really an error? should i 
send-pr it?

regards,
-- 
Lubos
_@_"