compile error...




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




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