Re: [gtk-list] compile error...
- From: FOCUS gpf <jmiguel ceselsa es>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] compile error...
- Date: Mon, 28 Jun 1999 08:20:05 +0000
Luke Miller wrote:
> I am running NetBSD 1.2.1 on the hp300 architecture and when I try to
> compile gtk verion 1.2.3 I get the following error:
>
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gdk\" -I..
> - -DGTK_NO_CHECK_CASTS -DUSE_XIM -I/usr/local/lib/glib/include
> - -I/usr/local/include -I/usr/local/X11R5/include -g -O2 -Wall -c -fPIC
> - -DPIC gdkimage.c -o .libs/gdkimage.lo
> In file included from gdkimage.c:45:
> /usr/include/sys/ipc.h:55: syntax error before `ushort'
> *** Error code 1
>
> Stop.
> *** Error code 1
>
> looking at /usr/include/sys/ipc.h:55 I see:
>
> struct ipc_perm {
> ushort cuid; /* creator user id */ *** this is line 55
> ushort cgid; /* creator group id */
> ushort uid; /* user id */
> ushort gid; /* group id */
> ushort mode; /* r/w permission */
> ushort seq; /* sequence # (to generate unique msg/sem/shm id) */
> key_t key; /* user specified msg/sem/shm key */
> };
>
> Any ideas??
>
> Thanks,
>
> Luke
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
¿ Perhaps a bug in "configure" ?
Apparently you must "#include <sys/types.h>" in gdkimage.c before the include of
ipc.h
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]