🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #50373

[Q] _ctype not found

#50373
From: Timothy Murphy
Date: Mon, 04 Oct 1993 17:28
26 lines
1456 bytes
I was recently compiling xdvi (the TeX X-windows viewer)
and came up with the load error "_ctype not found".
It seemed to me that one of the X libraries was looking for
the array _ctype[].

I could solve the problem by taking ctype.o out of libc.a
(ar x libc.a ctype.o), and including this in the object files
making up xdvi.

But adding a statement involving islower() to a source file
didn't seem to bring in the _ctype array.

I'm puzzled (1) why _ctype wasn't brought in anyway,
and (2) why the islower() call didn't bring it in.

I'm using gcc-2.4.3 on a Mips Magnum 3000 (running Riscos 4).

Any pointers to enlightenment gratefully received.



-- 
Timothy Murphy  
e-mail: tim@maths.tcd.ie
tel: +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
Technical Details
Message-ID: <28pmgn$2c9@salmon.maths.tcd.ie>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!pipex!warwick!uknet!mcsun!ieunet!maths.tcd.ie!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,ac0641dbc8fb3855,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-10-04 11:04:59 PST
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!pipex!warwick!uknet!mcsun!ieunet!maths.tcd.ie!not-for-mail
From: tim@maths.tcd.ie (Timothy Murphy)
Newsgroups: gnu.gcc.help
Subject: [Q] _ctype not found
Date: 4 Oct 1993 18:28:55 +0100
Organization: Dept. of Maths, Trinity College, Dublin, Ireland.
Lines: 26
Message-ID: <28pmgn$2c9@salmon.maths.tcd.ie>
NNTP-Posting-Host: salmon.maths.tcd.ie
Summary: Why isn't _ctype found?
Keywords: GNU gcc library