compiling pam_mount for FC5

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

 



I couldn't find any rpms for pam_mount-0.12.2 for FC5 and tried to compile
it myself. I didn't get very far, as the "make" output at the end shows.
The file in question is /usr/include/linux/loop.h, which belongs to
glibc-kernheaders-3.0-5.2, so this seems to be up-to-date. Any ideas?

Roman

 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -DG_DISABLE_DEPRECATED -D_LARGEFILE_SOURCE=1
-D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -Wall -Waggregate-return
-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow
-Wstrict-prototypes -Winline -pipe -g -O2 -MT mount.lo -MD -MP
-MF .deps/mount.Tpo -c mount.c  -fPIC -DPIC -o .libs/mount.o
In file included from mount.c:54:
/usr/include/linux/loop.h:31:2: error: #error "Wrong dev_t in loop.h"
mount.c:75: warning: 'struct loop_info64' declared inside parameter list
mount.c:75: warning: its scope is only this definition or declaration, which
is probably not what you want
mount.c: In function 'already_mounted':
mount.c:184: error: storage size of 'loopdev' isn't known
mount.c:184: warning: unused variable 'loopdev'
mount.c: At top level:
mount.c:944: warning: 'struct loop_info64' declared inside parameter list
mount.c:945: error: conflicting types for 'loop_bk'
mount.c:75: error: previous declaration of 'loop_bk' was here
mount.c:951:6: error: #error
-------------------------------------------------------------------
mount.c:952:6: error: #error Your userspace kernel headers
(/usr/include/linux/) are out of date
mount.c:953:6: error: #error This is NOT a pam-mount bug, but one of your
distribution.
mount.c:954:6: error: #error
-------------------------------------------------------------------
mount.c: In function 'loop_bk':
mount.c:956: error: 'LOOP_GET_STATUS64' undeclared (first use in this
function)
mount.c:956: error: (Each undeclared identifier is reported only once
mount.c:956: error: for each function it appears in.)
mount.c:961: error: dereferencing pointer to incomplete type
make[2]: *** [mount.lo] Error 1
make[2]: Leaving directory `/usr/local/src/pam_mount-0.12.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/pam_mount-0.12.2'
make: *** [all] Error 2



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux