🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer.misc
Article #304

Re: v_clear sample code anyone? None in docs for gcc/emx

#304
From: Robert S Smith
Date: Wed, 11 Mar 1998 00:00
32 lines
1546 bytes
Martin & Alethea wrote:
> 
> Using gcc 2.7.2 under emx in os/2
> 
> I'm a novice still so no graphics involved I just have a text mode
> program where I want to clear the screen.  From the docs I assume
> v_clear() is the function I need.  I've included <sys/video.h> and
> called the function:
> 
> v_clear();
> 
> but the compiler doesn't recognise it as a function (undefined symbol
> referenced from text segment).
> There don't seem to be any examples in the sample code or docs.
> 
> TIA
> 
> _____________________
> Martin , Cornwall UK
> 
> Warped through and through

Are you sure its the compiler and not the linker?
It sounds like you just need to include the correct library when you
link, and that should take care of it.  Unfortunately, I have no idea
which one it would be.

Hope that helps

Rob Smith
rss@nbt.com
Technical Details
Message-ID: <35070683.39DC@nbt.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <voFHBstkGWlw-pn2-FLpwxF4ppdmw@localhost>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,622fe456c361dfe6
X-Google-Attributes: gid11318c,public
X-Google-Thread: 11307a,622fe456c361dfe6
X-Google-Attributes: gid11307a,public
From: Robert S Smith <rss@nbt.com>
Subject: Re: v_clear sample code anyone? None in docs for gcc/emx
Date: 1998/03/11
Message-ID: <35070683.39DC@nbt.com>
X-Deja-AN: 333108617
Content-Transfer-Encoding: 7bit
Sender: news@world.std.com (Mr Usenet Himself)
References: <voFHBstkGWlw-pn2-FLpwxF4ppdmw@localhost>
Content-Type: text/plain; charset=us-ascii
Organization: The World @ Software Tool & Die
Mime-Version: 1.0
Newsgroups: comp.os.os2.programmer.misc,gnu.gcc.help