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]

Re: Lame 3.96.1 compilation (Attn: libncurses-devel maintainer)


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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


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