🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.cdc
Article #79

Re: Missing Routine "_ctype"

#79
From: Jeff Holmbeck
Date: Fri, 09 Oct 1992 17:52
41 lines
1806 bytes
In article <BvupED.AzE@epix.rrze.uni-erlangen.de>,
unrz03@epix.rrze.uni-erlangen.de (Gert Buettner) wrote:
> While porting programs (traceroute and a graphics interpreter)
> to EP/IX (1.4.3),
> I end up with the error-message:
> 
>     ld:
>    Undefined:
>    _ctype
> 
> I have not found this routine anywhere, but there are 
> "ctype" or "ctype_".
> Is there a typo in a ?.h-file ? In which ?

_ctype is defined in the sysv "flavor" of libc.a.  It is a table used by
the 
the macros (such as isascii and isdigit) in the ctype.h include file.

In the bsd43 world, the comparable table is named "_ctype_".

Is it possible that you are mixing sysv and bsd43 during your compilation?
For example, could you be doing something like this?

        cc -systype sysv -c program.c
        cc -systype bsd43 -o program program.o

Another possibility is that you are compiling for bsd43, but you are
using full path names for includes.  For example:

       #include </usr/include/ctype.h>

in your C program or perhaps:

       cc -systype bsd43 -I/usr/include -c program.c

for your compile command.

Jeff Holmbeck
Control Data Systems, Inc.
jdh@udev.cdc.com
(612)482-3255
Technical Details
Message-ID: <jdh-091092123942@kebmlor.udev.cdc.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!ames!elroy.jpl.nasa.gov!sdd.hp.com!uakari.primate.wisc.edu!caen!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!mmm.serc.3m.com!mmc.mmmg.com!timbuk.cray.com!shamash!kebmlor.udev.cdc.com!user
References: <BvupED.AzE@epix.rrze.uni-erlangen.de>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!ames!elroy.jpl.nasa.gov!sdd.hp.com!uakari.primate.wisc.edu!caen!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!mmm.serc.3m.com!mmc.mmmg.com!timbuk.cray.com!shamash!kebmlor.udev.cdc.com!user
From: jdh@udev.cdc.com (Jeff Holmbeck)
Newsgroups: comp.sys.cdc
Subject: Re: Missing Routine "_ctype"
Message-ID: <jdh-091092123942@kebmlor.udev.cdc.com>
Date: 9 Oct 92 17:52:21 GMT
References: <BvupED.AzE@epix.rrze.uni-erlangen.de>
Sender: usenet@shamash.cdc.com
Followup-To: comp.sys.cdc
Organization: Control Data Systems, Inc.
Lines: 41