delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/10/14:23:46

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Tue, 10 Aug 2004 14:23:19 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Al Bogner <cygwin AT ml04c DOT pinguin DOT uni DOT cc>
cc: cygwin AT cygwin DOT com
Subject: Re: Lame 3.96.1 compilation (Attn: libncurses-devel maintainer)
In-Reply-To: <200408092310.11388.cygwin@ml04c.pinguin.uni.cc>
Message-ID: <Pine.GSO.4.58.0408101412510.14233@slinky.cs.nyu.edu>
References: <200408092310 DOT 11388 DOT cygwin AT ml04c DOT pinguin DOT uni DOT cc>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Mon, 9 Aug 2004, Al Bogner wrote:

> As mentioned a few postings before I am new to cygwin und I am
> unsure, If I installed all packages I need to compile lame.
>
> ./configure did not end with an error, but I got this message:
> "configure: WARNING: winsock2.h: present but cannot be compiled"

Again, please see config.log (not the output of "configure") for the
actual problem.

> make ended with these lines:
> if gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I../libmp3lame -I../include -I..    -O3  -ffast-math 			-funroll-loops 				-maccumulate-outgoing-args -Wall -pipe    -MT brhist.o -MD -MP -MF ".deps/brhist.Tpo" \
>   -c -o brhist.o `test -f 'brhist.c' || echo './'`brhist.c; \
> then mv -f ".deps/brhist.Tpo" ".deps/brhist.Po"; \
> else rm -f ".deps/brhist.Tpo"; exit 1; \
> fi
> brhist.c:65:20: term.h: No such file or directory

You do have libncurses-devel installed, which contains term.h, but you
don't seem to have /usr/include/term.h as a symlink to
/usr/include/ncurses/term.h.  I have this link on my machine, but the
latest postinstall script doesn't seem to create it.  This is likely a
packaging bug in the libncurses-devel package.  Chuck?

> brhist.c: In function `brhist_init':
> brhist.c:160: warning: implicit declaration of function `tgetent'
> brhist.c:165: warning: implicit declaration of function `tgetnum'
> brhist.c:173: warning: implicit declaration of function `tgetstr'

These stem from the above.

> brhist.c:173: warning: assignment makes pointer from integer without a cast
> brhist.c:178: warning: assignment makes pointer from integer without a cast
> brhist.c:183: warning: assignment makes pointer from integer without a cast
> brhist.c:188: warning: assignment makes pointer from integer without a cast

These are warnings, and won't stop the build.  I have a feeling they are
also the result of the above, but if they are still present once you have
a valid term.h, they should be investigated.

> make[2]: *** [brhist.o] Error 1
> make[2]: Leaving directory `/usr/src/lame-3.96.1/frontend'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/lame-3.96.1'
> make: *** [all] Error 2
>
> The whole output of configure and make is attached, as well as
> cygcheck.

HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing."  -- Dr. Jubal Harshaw

--
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