bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cdda_paranoia.h


From: J.D. Laub
Subject: cdda_paranoia.h
Date: Fri, 9 Dec 2005 10:20:06 -0700
User-agent: Mutt/1.4.1i

I received this warning while running "configure" for grip-3.2.0 on
Red Hat Enterprise Linux Workstation 3:

[...]
checking cdda/cdda_interface.h usability... yes
checking cdda/cdda_interface.h presence... yes
checking for cdda/cdda_interface.h... yes
checking cdda/cdda_paranoia.h usability... no
checking cdda/cdda_paranoia.h presence... yes
configure: WARNING: cdda/cdda_paranoia.h: present but cannot be compiled
configure: WARNING: cdda/cdda_paranoia.h: check for missing prerequisite 
headers?
configure: WARNING: cdda/cdda_paranoia.h: proceeding with the preprocessor's 
result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to address@hidden ##
configure: WARNING:     ## ------------------------------------ ##
checking for cdda/cdda_paranoia.h... yes
[...]

Here's what the compiler has to say about the test compile that
includes cdda/cdda_parnoia.h:
In file included from configure:10486:
/usr/include/cdda/cdda_paranoia.h:40: syntax error before '*' token

Here's line 40 of that file:
extern cdrom_paranoia *paranoia_init(cdrom_drive *d);

The problem is that cdrom_drive is defined in cdda_interface.h,
but cdda_paranoia.h doesn't #include that file.  If the generated
conftest.c #includes cdda_interface.h before #including
cdda_paranoia.h, the test succeeds.

-- 
J.D. Laub (Laubster) |"Your leg's too long / Your skull's too strong /
address@hidden| Suppose your nose is wrong." - Renaldo & the Loaf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]