On Wed, May 24, 2000 at 12:31:49PM +0200, Mitja Bezget wrote:
> I'm having problems running xfree on an old Indy
> so i tought i should report&ask for help..
> First I applyed the patch (is it recent??):
There's a newer patch available on that site but this one should work
> # tar -xzvf X400src.tgz
> # cd xc
> # patch -p0 <newport_000514.diff
> (files are from a webpage previously posted)
> and it didn't create drivers/newport/ directory.. (it exited
> should i have done something else before that?
> Anyway.. i created the missing files by hand..
> afterwards it failed again while making World
> newport.c:136: `MGA' undeclared (first use of this function)
This comes from the NewPortSetup function which should only be compiled
if the server supports loadable modules. We currently don't do this on
mips. Add a "#define DoLoadableServer NO" to your host.def and recompile.
This will probably also fix the problem below:
> newport.c:774: `caddr_t' undeclared (first use of this function)
> + some other errors originating from here..
> i fixed the caddr_t (missing #include <sys/types.h>)
> i changed MDA to NEWPORT and it compiled ok! and i was happy!
> But now it just wont run.. error message is attached..
> I think it has something to do with socketbits.h and declaration
> of enum __socket_type.. Namely i added this enum because i couldn't
> find #define for socket types in any of system installed header
> files.. (The very first reason server didn't compile)
Why did the compile break?
> i'm running glibc-2.0.6-4 (+devel) and egcs-1.0.2-9..
> Thank you!
> ps. for Guido (or who coded that part):
> i went thru newport_regs.h and i noticed your comment in line 153
> /* This causes a warning. Why??? */
> I believe it was just a simple innocent typo.. you pressed
> the semi-colon twice. ;))
I'm aware of that. It's just a reminder for me to check the c-specs why a
"useless" semicolon causes a compiler warning at all.
GPG-Public Key: http://honk.physik.uni-konstanz.de/~agx/guenther.gpg.asc