This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Can't compile Screen: Undefined reference to __imp__ospeed


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]