Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!ucbvax!agate!e260-3f!c60c-3cf From: c60c-3cf@e260-3f.berkeley.edu (Dan Kogai) Newsgroups: comp.sys.mac.comm Subject: Re: Maclayers and Apollo workstation problem Keywords: maclayers, apollo Message-ID: <1990May4.135945.25578@agate.berkeley.edu> Date: 4 May 90 13:59:45 GMT References: <1990May2.203935.15825@agate.berkeley.edu> Sender: usenet@agate.berkeley.edu (USENET Administrator;;;;ZU44) Organization: UC Bezerkeley Lines: 66 In article <1990May2.203935.15825@agate.berkeley.edu> dwl@ocf.berkeley.edu (David Lee) writes: >I have tried to install maclayers on my unix account with no success. It is an >Apollo workstation running BSD 4.3. I ftp'ed the maclayers-unix-side.shar >file, then "sh" and finally I typed 'make install' and got the following >error messages: > >/bin/cc -O -c layers.c > > (0045) time_t ut_time ; > >******** Line 45 of "/usr/include/utmp.h": [Error #041] Unknown type "time_t" in a > structure or union. >******** Line 45 of "/usr/include/utmp.h": [Error #041] Unknown type "ut_time" in a > structure or union. >*** Exit 1 > >Stop. It compliled fine on Sun 3 and I tried to rlogin to OCF Apollos but something went wrong and I couldn't. So I can't tell but the following patch shold help. Just save this article and do "patch layers.c < thisarticle". 127,136c127 < < #include < #include < #include < #include < #include < #include < #include < #include < #include --- > 145a137,145 > #include > #include > #include > #include > #include > #include > #include > #include > #include The problem is, is included AFTER and defines time_t. So the error above will not occur in case of your error. If similar errors occur in different file, just use editor to move all above others. Good luck. BTW. If you can access OCF from normal network or nobody@violet, you can't use maclayer so far because maclayer has a bug dealing with 7-bit connection. --- ################## Dan The "I grok therefore I am God" Man + ____ __ __ + (Aka Dan Kogai) + ||__||__| + E-mail: dankg@ocf.berkeley.edu + ____| ______ + Voice: 415-549-6111 + | |__|__| + USnail: 1730 Laloma Berkeley, CA 94709 + |___ |__|__| + U.S.A + |____|____ + Disclaimer: I'd rather be blackmailed for my long .sig + \_| | + than give up my cool name in Kanji. And my + <- THE MAN -> + citizenship of People's Republic o' Berkeley ################## has nothing 2 do w/ whatever I post, ThanQ.