delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/01/26/00:35:25

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=BAYES_20,RCVD_IN_DNSWL_LOW,SARE_SUB_ENC_UTF8,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: "Justin L." <starwiz AT gmail DOT com>
Subject: Can't compile Screen: Undefined reference to =?utf-8?b?X19pbXBfX29zcGVlZA==?=
Date: Mon, 26 Jan 2009 05:31:56 +0000 (UTC)
Lines: 29
Message-ID: <loom.20090126T051539-969@post.gmane.org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi, all.

I'm trying to compile GNU Screen under Cygwin.  Right now, I'm failing to
compile an unmodified package, but my goal is to compile with 256 color support.

I downloaded the package via the Cygwin installer and ran

  cygport screen-4.0.3-1.cygport almostall

At compile, I get the following error:

display.o:display.c:(.text+0x76d): undefined reference to `__imp__ospeed'
display.o:display.c:(.text+0xa68): undefined reference to `__imp__ospeed'
display.o:display.c:(.text+0xb36): undefined reference to `__imp__ospeed'

It's not clear to me if these errors are from compiling display.c or from
linking display.o.  They come after the command to link, but they look more like
compile errors than link errors to me.  In any case, searching for
"__imp__ospeed" doesn't turn up anything enlightening to me.

I'm inclined to believe that I'm missing some library, but I'm not sure which
that would be.  Cygwin setup tells me I have termcap (20050421-1), crypt
(1.1-1), binutils (20080624-2), and coreutils (6.10-2).  I'm running GCC 3.4.4
and cygport 0.4.3.

Does anyone know what might be going on here?  I'd love to get this thing
working, if I can.

-Justin


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019