error compiling under OpenBSD



	Hi,
	I have a problem compiling gnome under OpenBSD 2.8
	(X version 4.0.2).
	Specifically the gnome-applets-1.2.4.tar.gz package,
	The actual error point (message) is:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.                                       -
I../intl -I../intl              -DGNOMELOCALEDIR=\""/usr/local/share/locale"\" -
I/usr/local/include -I/usr/local/include -DNEED_GNOMESUPPORT_H -I/usr/local/lib/
gnome-libs/include -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -
I/usr/local/include/gtk-1.2 -I/usr/X11R6/include                        -DVERSIO
N=\""1.2.4"\"  -I/usr/local/include -I/usr/local/include/gtk-1.2 -I/usr/local/in
clude/glib-1.2 -I/usr/local/lib/glib/include -I/usr/X11R6/include  -g -O2 -Wall
-Wunused  -c modemlights.c
In file included from modemlights.h:21,
                 from modemlights.c:24: 
 /usr/include/net/if_pppvar.h:60: field `sc_timo' has incomplete type
 /usr/include/net/if_pppvar.h:75: field `sc_stats' has incomplete type
 /usr/include/net/if_pppvar.h:77: field `sc_npmode' has incomplete type
 /usr/include/net/if_pppvar.h:91: syntax error before `ext_accm'
		 In file included from modemlights.h:22,
                 from modemlights.c:24:
  /usr/include/net/if_ppp.h:74: field `mode' has incomplete type
  /usr/include/net/if_ppp.h:86: field `stats' has incomplete type
  /usr/include/net/if_ppp.h:91: fi
gmake[3]: *** [modemlights.o] Error 1
gmake[3]: Leaving directory `/tmp/gnome-applets-1.2.4/modemlights'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/tmp/gnome-applets-1.2.4/modemlights'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tmp/gnome-applets-1.2.4'
gmake: *** [all-recursive-am] Error 2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

	Does anybody have successfully compiled gnome under
	OpenBSD 2.8 (with X 4.0.2)? or tell me know what can
       	I do?
	It's pretty obvious that the problem is about the
	OpenBSD net library, but I've not been able to came
       	up with any solution.

	Thanks a lot in advance.
	Regards,

	                                Eduardo.




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