getting a addon to compile on bsdi

Tyler.Wilhite/FASTTAX@cspo.queensu.ca
Date: 01/21/97


I have a seperate addon that I have for circle that I cannot get to compile on 
my bsdi/ OS 2.1
system, it's an alpha.  When I try to compile this utility it says

gcc  -DUNIX -DSUN -c System.c
In file included from /usr/include/sys/stat.h:49,
                 from System.c:59:
/usr/include/sys/time.h:122: syntax error before `60'
*** Error code 1

Now in time.h here is th offending line:122

/*
 * Getkerninfo clock information structure
 */
struct clockinfo {
        int     hz;             /* clock frequency */   <=- offending line
        int     tick;           /* micro-seconds per hz tick */
        int     stathz;         /* statistics clock frequency */
        int     profhz;         /* profiling clock frequency */
};

Now in System.c :59
it's just an include
# include <sys/stat.h>

I was on a linux box, and it compiled fine no problems, it wasn't an alpha 
though.

I'm stumpped, anyone know bsdi very well, or know what I might be doing wrong?

Btw, it is making a library.. when I try to use the library that worked on my 
linux box, on the alpha, it said..
Bad Magic Number.. Hmm..??  

Help would be appreciated,
Tyler

+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/18/00 PST