#2329: linux/cdrom.h and linux/raw.h configure failures
-----------------------------------------+----------------------------------
 Reporter:  [EMAIL PROTECTED]  |       Owner:  [email protected]
     Type:  task                         |      Status:  new                    
       
 Priority:  normal                       |   Milestone:  6.3                    
       
Component:  BOOK                         |     Version:  SVN                    
       
 Severity:  normal                       |    Keywords:                         
       
-----------------------------------------+----------------------------------
 I often get:

 {{{
 checking linux/raw.h usability... no
 checking linux/raw.h presence... yes
 configure: WARNING: linux/raw.h: present but cannot be compiled
 configure: WARNING: linux/raw.h:     check for missing prerequisite
 headers?
 configure: WARNING: linux/raw.h: see the Autoconf documentation
 configure: WARNING: linux/raw.h:     section "Present But Cannot Be
 Compiled"
 configure: WARNING: linux/raw.h: proceeding with the preprocessor's result
 configure: WARNING: linux/raw.h: in the future, the compiler will take
 precedence
 configure: WARNING:     ## ------------------------------------------ ##
 configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
 configure: WARNING:     ## ------------------------------------------ ##
 checking for linux/raw.h... yes
 checking sys/raw.h usability... yes
 checking sys/raw.h presence... yes
 }}}

 and

 {{{
 checking linux/cdrom.h usability... no
 checking linux/cdrom.h presence... yes
 configure: WARNING: linux/cdrom.h: present but cannot be compiled
 configure: WARNING: linux/cdrom.h:     check for missing prerequisite
 headers?
 configure: WARNING: linux/cdrom.h: see the Autoconf documentation
 configure: WARNING: linux/cdrom.h:     section "Present But Cannot Be
 Compiled"
 configure: WARNING: linux/cdrom.h: proceeding with the preprocessor's
 result
 configure: WARNING: linux/cdrom.h: in the future, the compiler will take
 precedence
 configure: WARNING:     ## ------------------------------------------ ##
 configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
 configure: WARNING:     ## ------------------------------------------ ##
 checking for linux/cdrom.h... yes
 }}}

 These are caused by "-std=iso9899:1990" being used during ./configure, the
 conftest programs fail because many linux kernel headers are not ANSI
 compliant. We can fix this by passing "--disable-warnings" to ./configure
 so that "-std=iso9899:1990" does not get used. This affects many packages,
 almost all the KDE packages, and I think MPlayer too, and others. This
 also affects all recent kernels (back to 2.4).

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/2329>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to