[BLFS Trac] #2450: Proftp failure to compile

BLFS Trac trac at linuxfromscratch.org
Mon Feb 11 10:41:54 PST 2008


#2450: Proftp failure to compile
----------------------+-----------------------------------------------------
 Reporter:  Tromador  |        Owner:  blfs-book at linuxfromscratch.org
     Type:  defect    |       Status:  new                           
 Priority:  normal    |    Milestone:  6.3                           
Component:  BOOK      |      Version:  SVN                           
 Severity:  normal    |   Resolution:                                
 Keywords:            |  
----------------------+-----------------------------------------------------
Comment (by Tromador):

 Sorry - allow me to make that somewhat readable... Please delete above
 non-formatted mess!

 LFS Built against Devel version.

 GCC - 4.2.2

 GLIBC - 2.7

 BINUTILS - 2.18

 {{{
 cd lib/ && make lib
 make[1]: Entering directory `/sources/proftpd-1.3.1/lib'
 gcc -DHAVE_CONFIG_H  -DLINUX  -I.. -I../include  -O2 -Wall -c pr_fnmatch.c
 In file included from /usr/include/asm/sigcontext.h:4,
                  from /usr/include/bits/sigcontext.h:28,
                  from /usr/include/signal.h:333,
                  from /usr/include/sys/wait.h:31,
                  from ../include/conf.h:95,
                  from pr_fnmatch.c:38:
 /usr/include/asm/types.h:6: error: conflicting types for 'mode_t'
 /usr/include/sys/types.h:72: error: previous declaration of 'mode_t' was
 here
 make[1]: *** [pr_fnmatch.o] Error 1
 make[1]: Leaving directory `/sources/proftpd-1.3.1/lib'
 make: *** [lib] Error 2
 }}}


 Same error in versions 1.3.0 & 1.3.1

 Appears fixed in current CVS (1.3.2rc1)

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/2450#comment:1>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch



More information about the blfs-book mailing list