Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Dec 1995 11:51:23 +1030 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        cosmos@sponsor.octet.com (Daniel Leeds)
Cc:        hackers@FreeBSD.ORG
Subject:   Re: libraries
Message-ID:  <199512290121.LAA04499@genesis.atrad.adelaide.edu.au>
In-Reply-To: <199512281829.SAA00359@sponsor.octet.com> from "Daniel Leeds" at Dec 28, 95 06:29:06 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Daniel Leeds stands accused of saying:
> is this my error or something else?  I am trying to compile Xmosaic
> on freebsd 2.1 and i get this error...ive also gotten it on many other
> pacakges im working on as well...

> HTTCP.c:68: conflicting types for `sys_errlist'
> /usr/include/stdio.h:244: previous declaration of `sys_errlist'

It's because many other versions of unix don't prototype sys_errlist
in their headers, but FreeBSD does, and the prototypes don't match.
Find where the prototype is, and #ifdef it out.


-- 
]] Mike Smith, Software Engineer        msmith@atrad.adelaide.edu.au    [[
]] Genesis Software                     genesis@atrad.adelaide.edu.au   [[
]] High-speed data acquisition and      (GSM mobile) 0411-222-496       [[
]] realtime instrument control          (ph/fax)  +61-8-267-3039        [[
]] "Who does BSD?" "We do Chucky, we do."                               [[



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512290121.LAA04499>