歡迎您光臨本站 註冊首頁

裝VSFTPD伺服器,pam_mysql-0.7RC1安裝老是出錯??麻煩幫我看看

裝VSFTPD伺服器,pam_mysql-0.7RC1安裝老是出錯??麻煩幫我看看

錯誤如下:# ./configure --with-openssl
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for bison... bison -y
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for ANSI C header files... (cached) yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking for working volatile... yes
checking for preprocessor stringizing operator... yes
checking for pid_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking ELOOP availability... yes
checking EOVERFLOW availability... yes
checking for socket in -lsocket... no
checking for gethostbyname... yes
checking for gethostbyname in -lnsl... no
checking for inet_ntop... yes
checking for getaddrinfo... yes
checking for freeaddrinfo... yes
checking for strcasecmp... yes
checking for strdup... yes
checking PF_INET6 availability... yes
checking for struct sockaddr_in6... yes
checking for struct in6_addr... yes
checking for gethostbyname_r... yes
checking if gethostbyname_r() is part of glibc... yes
checking for char... yes
checking size of char... 1
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking if /usr /usr/local /usr/mysql /opt/mysql is a mysql_config script... no
checking mysql_config availability in /usr/bin... yes
checking for mysql_real_query... no
checking for mysql_real_escape_string... no
checking for make_scrambled_password_323... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for openssl_CFLAGS... -I/usr/kerberos/include  
checking for openssl_LIBS... -L/usr/kerberos/lib -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz  
checking pam_appl.h usability... yes
checking pam_appl.h presence... yes
checking for pam_appl.h... yes
checking pam_modules.h usability... yes
checking PAM_CONV_AGAIN availability... yes
checking PAM_INCOMPLETE availability... yes
checking PAM_NEW_AUTHTOK_REQD availability... yes
checking PAM_AUTHTOK_RECOVERY_ERR availability... no
checking PAM_AUTHTOK_RECOVER_ERR availability... yes
checking if the second argument of pam_get_user() takes const pointer... yes
checking if the third argument of pam_get_data() takes const pointer... yes
checking if the third argument of pam_get_item() takes const pointer... yes
checking if the second argument of pam_conv.conv() takes const pointer... yes
checking if md5.h is derived from Cyrus SASL Version 1... yes
checking if md5.h is Solaris's... no
checking md5.h usability... no
checking md5.h presence... yes
configure: WARNING: md5.h: present but cannot be compiled
configure: WARNING: md5.h:     check for missing prerequisite headers?
configure: WARNING: md5.h: see the Autoconf documentation
configure: WARNING: md5.h:     section "Present But Cannot Be Compiled"
configure: WARNING: md5.h: proceeding with the preprocessor's result
configure: WARNING: md5.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to the pam_mysql lists.  ##
configure: WARNING:     ## ------------------------------------ ##
checking for md5.h... yes
checking for MD5Data... no
checking for crypt in -lcrypt... no
checking for crypt... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pam_mysql.spec
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
《解決方案》

# make
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/security -I/usr/include  -g -O2  -g -O2 -I/usr/include/mysql -g -pipe -m32 -march=i386 -mtune=pentium4 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -I/usr/kerberos/include     -c pam_mysql.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/security -I/usr/include -g -O2 -g -O2 -I/usr/include/mysql -g -pipe -m32 -march=i386 -mtune=pentium4 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -I/usr/kerberos/include -c pam_mysql.c  -fPIC -DPIC -o .libs/pam_mysql.o
pam_mysql.c:38:1: warning: "_GNU_SOURCE" redefined
<command line>:2:1: warning: this is the location of the previous definition
pam_mysql.c:140:19: mysql.h: No such file or directory
pam_mysql.c:215: error: syntax error before "MYSQL"
pam_mysql.c:215: warning: no semicolon at end of struct or union
pam_mysql.c:243: error: syntax error before '}' token
pam_mysql.c:243: warning: data definition has no type or storage class
pam_mysql.c:297: error: syntax error before "pam_mysql_ctx_t"
pam_mysql.c:297: warning: no semicolon at end of struct or union
pam_mysql.c:300: error: syntax error before '}' token
pam_mysql.c:300: warning: data definition has no type or storage class
pam_mysql.c:305: error: syntax error before "pam_mysql_ctx_t"
pam_mysql.c:305: warning: no semicolon at end of struct or union
pam_mysql.c:306: warning: data definition has no type or storage class
pam_mysql.c:307: error: syntax error before '}' token
pam_mysql.c:307: warning: data definition has no type or storage class
pam_mysql.c:325: error: syntax error before "pam_mysql_ctx_t"
pam_mysql.c:325: warning: no semicolon at end of struct or union
pam_mysql.c:330: error: syntax error before '}' token
pam_mysql.c:330: warning: data definition has no type or storage class
pam_mysql.c:354: error: syntax error before '*' token
pam_mysql.c:356: error: syntax error before '*' token
pam_mysql.c:357: error: syntax error before '*' token
pam_mysql.c:358: error: syntax error before '*' token
pam_mysql.c:359: error: syntax error before '*' token
pam_mysql.c:360: error: syntax error before '*' token
pam_mysql.c:361: error: syntax error before '*' token
pam_mysql.c:362: error: syntax error before '*' token
pam_mysql.c:364: error: syntax error before '*' token
pam_mysql.c:366: error: syntax error before '*' token
pam_mysql.c:368: error: syntax error before '*' token
pam_mysql.c:370: error: syntax error before '*' token
pam_mysql.c:372: error: syntax error before '*' token
pam_mysql.c:771: error: conflicting types for 'options'
pam_mysql.c:299: error: previous declaration of 'options' was here
pam_mysql.c:772: error: syntax error before ')' token
pam_mysql.c:772: error: initializer element is not constant
pam_mysql.c:772: error: (near initialization for `options.offset')
pam_mysql.c:772: error: initializer element is not constant
pam_mysql.c:772: error: (near initialization for `options')
pam_mysql.c:773: error: syntax error before ')' token
pam_mysql.c:773: error: initializer element is not constant
pam_mysql.c:773: error: (near initialization for `options.offset')
pam_mysql.c:773: error: initializer element is not constant
pam_mysql.c:773: error: (near initialization for `options')
pam_mysql.c:774: error: syntax error before ')' token
pam_mysql.c:774: error: initializer element is not constant
pam_mysql.c:774: error: (near initialization for `options.offset')
pam_mysql.c:774: error: initializer element is not constant
pam_mysql.c:774: error: (near initialization for `options')
pam_mysql.c:775: error: syntax error before ')' token
pam_mysql.c:775: error: initializer element is not constant
pam_mysql.c:775: error: (near initialization for `options.offset')
pam_mysql.c:775: error: initializer element is not constant
pam_mysql.c:775: error: (near initialization for `options')
pam_mysql.c:776: error: syntax error before ')' token
pam_mysql.c:776: error: initializer element is not constant
pam_mysql.c:776: error: (near initialization for `options.offset')
pam_mysql.c:776: error: initializer element is not constant
pam_mysql.c:776: error: (near initialization for `options')
pam_mysql.c:777: error: syntax error before ')' token
pam_mysql.c:777: error: initializer element is not constant
pam_mysql.c:777: error: (near initialization for `options.offset')
pam_mysql.c:777: error: initializer element is not constant
pam_mysql.c:777: error: (near initialization for `options')
pam_mysql.c:778: error: syntax error before ')' token
pam_mysql.c:778: error: initializer element is not constant
pam_mysql.c:778: error: (near initialization for `options.offset')
pam_mysql.c:778: error: initializer element is not constant
pam_mysql.c:778: error: (near initialization for `options')
pam_mysql.c:779: error: syntax error before ')' token
pam_mysql.c:779: error: initializer element is not constant
pam_mysql.c:779: error: (near initialization for `options.offset')
pam_mysql.c:779: error: initializer element is not constant
pam_mysql.c:779: error: (near initialization for `options')
pam_mysql.c:780: error: syntax error before ')' token
pam_mysql.c:780: error: initializer element is not constant
pam_mysql.c:780: error: (near initialization for `options.offset')
pam_mysql.c:780: error: initializer element is not constant
pam_mysql.c:780: error: (near initialization for `options')
pam_mysql.c:781: error: syntax error before ')' token
pam_mysql.c:781: error: initializer element is not constant
pam_mysql.c:781: error: (near initialization for `options.offset')
pam_mysql.c:781: error: initializer element is not constant
pam_mysql.c:781: error: (near initialization for `options')
pam_mysql.c:782: error: syntax error before ')' token
pam_mysql.c:782: error: initializer element is not constant
pam_mysql.c:782: error: (near initialization for `options.offset')
pam_mysql.c:782: error: initializer element is not constant
pam_mysql.c:782: error: (near initialization for `options')
pam_mysql.c:783: error: syntax error before ')' token
pam_mysql.c:783: error: initializer element is not constant
pam_mysql.c:783: error: (near initialization for `options.offset')
pam_mysql.c:783: error: initializer element is not constant
pam_mysql.c:783: error: (near initialization for `options')
pam_mysql.c:784: error: syntax error before ')' token
pam_mysql.c:784: error: initializer element is not constant
pam_mysql.c:784: error: (near initialization for `options.offset')
pam_mysql.c:784: error: initializer element is not constant
pam_mysql.c:784: error: (near initialization for `options')
pam_mysql.c:785: error: syntax error before ')' token
pam_mysql.c:785: error: initializer element is not constant
pam_mysql.c:785: error: (near initialization for `options.offset')
pam_mysql.c:785: error: initializer element is not constant
pam_mysql.c:785: error: (near initialization for `options')
pam_mysql.c:786: error: syntax error before ')' token
pam_mysql.c:786: error: initializer element is not constant
pam_mysql.c:786: error: (near initialization for `options.offset')
pam_mysql.c:786: error: initializer element is not constant
pam_mysql.c:786: error: (near initialization for `options')
pam_mysql.c:787: error: syntax error before ')' token
pam_mysql.c:787: error: initializer element is not constant
pam_mysql.c:787: error: (near initialization for `options.offset')
pam_mysql.c:787: error: initializer element is not constant
pam_mysql.c:787: error: (near initialization for `options')
pam_mysql.c:788: error: syntax error before ')' token
pam_mysql.c:788: error: initializer element is not constant
pam_mysql.c:788: error: (near initialization for `options.offset')
pam_mysql.c:788: error: initializer element is not constant
pam_mysql.c:788: error: (near initialization for `options')
pam_mysql.c:789: error: syntax error before ')' token
pam_mysql.c:789: error: initializer element is not constant
pam_mysql.c:789: error: (near initialization for `options.offset')
pam_mysql.c:789: error: initializer element is not constant
pam_mysql.c:789: error: (near initialization for `options')
pam_mysql.c:790: error: syntax error before ')' token
pam_mysql.c:790: error: initializer element is not constant
pam_mysql.c:790: error: (near initialization for `options.offset')
pam_mysql.c:790: error: initializer element is not constant
pam_mysql.c:790: error: (near initialization for `options')
pam_mysql.c:791: error: syntax error before ')' token
pam_mysql.c:791: error: initializer element is not constant
pam_mysql.c:791: error: (near initialization for `options.offset')
pam_mysql.c:791: error: initializer element is not constant
pam_mysql.c:791: error: (near initialization for `options')
pam_mysql.c:792: error: syntax error before ')' token
pam_mysql.c:792: error: initializer element is not constant
pam_mysql.c:792: error: (near initialization for `options.offset')
pam_mysql.c:792: error: initializer element is not constant
pam_mysql.c:792: error: (near initialization for `options')
pam_mysql.c:793: error: syntax error before ')' token
pam_mysql.c:793: error: initializer element is not constant
pam_mysql.c:793: error: (near initialization for `options.offset')
pam_mysql.c:793: error: initializer element is not constant
pam_mysql.c:793: error: (near initialization for `options')
pam_mysql.c:794: error: syntax error before ')' token
pam_mysql.c:794: error: initializer element is not constant
pam_mysql.c:794: error: (near initialization for `options.offset')
pam_mysql.c:794: error: initializer element is not constant
pam_mysql.c:794: error: (near initialization for `options')
pam_mysql.c:795: error: syntax error before ')' token
pam_mysql.c:795: error: initializer element is not constant
pam_mysql.c:795: error: (near initialization for `options.offset')
pam_mysql.c:795: error: initializer element is not constant
pam_mysql.c:795: error: (near initialization for `options')
pam_mysql.c:796: error: syntax error before ')' token
pam_mysql.c:796: error: initializer element is not constant
pam_mysql.c:796: error: (near initialization for `options.offset')
pam_mysql.c:796: error: initializer element is not constant
pam_mysql.c:796: error: (near initialization for `options')
pam_mysql.c:797: error: syntax error before ')' token
pam_mysql.c:797: error: initializer element is not constant
pam_mysql.c:797: error: (near initialization for `options.offset')
pam_mysql.c:797: error: initializer element is not constant
pam_mysql.c:797: error: (near initialization for `options')
pam_mysql.c:798: error: syntax error before ')' token
pam_mysql.c:798: error: initializer element is not constant
pam_mysql.c:798: error: (near initialization for `options.offset')
pam_mysql.c:798: error: initializer element is not constant
pam_mysql.c:798: error: (near initialization for `options')
pam_mysql.c:799: error: initializer element is not constant
pam_mysql.c:799: error: (near initialization for `options')
pam_mysql.c:935: error: syntax error before "pam_mysql_ctx_t"
pam_mysql.c: In function `pam_mysql_stream_open':
pam_mysql.c:942: error: `file' undeclared (first use in this function)
pam_mysql.c:942: error: (Each undeclared identifier is reported only once
pam_mysql.c:942: error: for each function it appears in.)
pam_mysql.c:943: error: `ctx' undeclared (first use in this function)
pam_mysql.c: At top level:
pam_mysql.c:1243: error: syntax error before '*' token
pam_mysql.c: In function `pam_mysql_config_scanner_init':
pam_mysql.c:1248: error: `scanner' undeclared (first use in this function)
pam_mysql.c:1252: error: `ctx' undeclared (first use in this function)
pam_mysql.c: At top level:
pam_mysql.c:1262: error: syntax error before '*' token
pam_mysql.c: In function `pam_mysql_config_scanner_destroy':
pam_mysql.c:1264: error: `scanner' undeclared (first use in this function)
pam_mysql.c: At top level:
pam_mysql.c:1270: error: syntax error before '*' token
pam_mysql.c: In function `pam_mysql_config_scanner_next_token':
pam_mysql.c:1275: error: `scanner' undeclared (first use in this function)
pam_mysql.c: At top level:
pam_mysql.c:1448: error: syntax error before '*' token
pam_mysql.c: In function `pam_mysql_config_parser_init':
pam_mysql.c:1451: error: `parser' undeclared (first use in this function)
pam_mysql.c:1451: error: `ctx' undeclared (first use in this function)
pam_mysql.c: At top level:
pam_mysql.c:1459: error: syntax error before '*' token
pam_mysql.c:1467: error: syntax error before '*' token
pam_mysql.c: In function `pam_mysql_config_parser_parse':
pam_mysql.c:1470: error: syntax error before "scanner"
pam_mysql.c:1479: error: `scanner' undeclared (first use in this function)
pam_mysql.c:1479: error: `parser' undeclared (first use in this function)
pam_mysql.c: At top level:
pam_mysql.c:1669: error: syntax error before ')' token
pam_mysql.c:1669: error: initializer element is not constant
pam_mysql.c:1669: error: (near initialization for `pam_mysql_entry_handler_options.offset')
pam_mysql.c:1669: error: initializer element is not constant
pam_mysql.c:1669: error: (near initialization for `pam_mysql_entry_handler_options')
pam_mysql.c:1670: error: syntax error before ')' token
pam_mysql.c:1670: error: initializer element is not constant
pam_mysql.c:1670: error: (near initialization for `pam_mysql_entry_handler_options.offset')
pam_mysql.c:1670: error: initializer element is not constant
pam_mysql.c:1670: error: (near initialization for `pam_mysql_entry_handler_options')
pam_mysql.c:1671: error: syntax error before ')' token
pam_mysql.c:1671: error: initializer element is not constant
pam_mysql.c:1671: error: (near initialization for `pam_mysql_entry_handler_options.offset')
pam_mysql.c:1671: error: initializer element is not constant
pam_mysql.c:1671: error: (near initialization for `pam_mysql_entry_handler_options')
pam_mysql.c:1672: error: syntax error before ')' token
pam_mysql.c:1672: error: initializer element is not constant
pam_mysql.c:1672: error: (near initialization for `pam_mysql_entry_handler_options.offset')
pam_mysql.c:1672: error: initializer element is not constant
pam_mysql.c:1672: error: (near initialization for `pam_mysql_entry_handler_options')
pam_mysql.c:1673: error: syntax error before ')' token
pam_mysql.c:1673: error: initializer element is not constant
pam_mysql.c:1673: error: (near initialization for `pam_mysql_entry_handler_options.offset')
pam_mysql.c:1673: error: initializer element is not constant
《解決方案》

pam_mysql.c:1673: error: (near initialization for `pam_mysql_entry_handler_options')
pam_mysql.c:1674: error: syntax error before ')' token
pam_mysql.c:1674: error: initializer element is not constant
pam_mysql.c:1674: error: (near initialization for `pam_mysql_entry_handler_options.offset')
pam_mysql.c:1674: error: initializer element is not constant
pam_mysql.c:1674: error: (near initialization for `pam_mysql_entry_handler_options')
pam_mysql.c:1675: error: syntax error before ')' token
pam_mysql.c:1675: error: initializer element is not constant
pam_mysql.c:1675: error: (near initialization for `pam_mysql_entry_handler_options.offset')
pam_mysql.c:1675: error: initializer element is not constant
pam_mysql.c:1675: error: (near initialization for `pam_mysql_entry_handler_options')
pam_mysql.c:1676: error: syntax error before ')' token
pam_mysql.c:1676: error: initializer element is not constant
pam_mysql.c:1676: error: (near initialization for `pam_mysql_entry_handler_options.offset')
pam_mysql.c:1676: error: initializer element is not constant
pam_mysql.c:1676: error: (near initialization for `pam_mysql_entry_handler_options')
pam_mysql.c:1677: error: syntax error before ')' token
pam_mysql.c:1677: error: initializer element is not constant
pam_mysql.c:1677: error: (near initialization for `pam_mysql_entry_handler_options.offset')
pam_mysql.c:1677: error: initializer element is not constant
pam_mysql.c:1677: error: (near initialization for `pam_mysql_entry_handler_options')
pam_mysql.c:1678: error: syntax error before ')' token
pam_mysql.c:1678: error: initializer element is not constant
pam_mysql.c:1678: error: (near initialization for `pam_mysql_entry_handler_options.offset')
pam_mysql.c:1678: error: initializer element is not constant
pam_mysql.c:1678: error: (near initialization for `pam_mysql_entry_handler_options')
pam_mysql.c:1679: error: syntax error before ')' token
pam_mysql.c:1679: error: initializer element is not constant
pam_mysql.c:1679: error: (near initialization for `pam_mysql_entry_handler_options.offset')
pam_mysql.c:1679: error: initializer element is not constant
pam_mysql.c:1679: error: (near initialization for `pam_mysql_entry_handler_options')
pam_mysql.c:1680: error: syntax error before ')' token
pam_mysql.c:1680: error: initializer element is not constant
pam_mysql.c:1680: error: (near initialization for `pam_mysql_entry_handler_options.offset')
pam_mysql.c:1680: error: initializer element is not constant
pam_mysql.c:1680: error: (near initialization for `pam_mysql_entry_handler_options')
pam_mysql.c:1681: error: syntax error before ')' token
pam_mysql.c:1681: error: initializer element is not constant
pam_mysql.c:1681: error: (near initialization for `pam_mysql_entry_handler_options.offset')
pam_mysql.c:1681: error: initializer element is not constant
pam_mysql.c:1681: error: (near initialization for `pam_mysql_entry_handler_options')
pam_mysql.c:1682: error: syntax error before ')' token
pam_mysql.c:1682: error: initializer element is not constant
pam_mysql.c:1682: error: (near initialization for `pam_mysql_entry_handler_options.offset')
pam_mysql.c:1682: error: initializer element is not constant
pam_mysql.c:1682: error: (near initialization for `pam_mysql_entry_handler_options')
pam_mysql.c:1683: error: syntax error before ')' token
pam_mysql.c:1683: error: initializer element is not constant
pam_mysql.c:1683: error: (near initialization for `pam_mysql_entry_handler_options.offset')
pam_mysql.c:1683: error: initializer element is not constant
pam_mysql.c:1683: error: (near initialization for `pam_mysql_entry_handler_options')
pam_mysql.c:1684: error: syntax error before ')' token
pam_mysql.c:1684: error: initializer element is not constant
pam_mysql.c:1684: error: (near initialization for `pam_mysql_entry_handler_options.offset')
pam_mysql.c:1684: error: initializer element is not constant
pam_mysql.c:1684: error: (near initialization for `pam_mysql_entry_handler_options')
pam_mysql.c:1685: error: syntax error before ')' token
pam_mysql.c:1685: error: initializer element is not constant
pam_mysql.c:1685: error: (near initialization for `pam_mysql_entry_handler_options.offset')
pam_mysql.c:1685: error: initializer element is not constant
pam_mysql.c:1685: error: (near initialization for `pam_mysql_entry_handler_options')
pam_mysql.c:1686: error: syntax error before ')' token
pam_mysql.c:1686: error: initializer element is not constant
pam_mysql.c:1686: error: (near initialization for `pam_mysql_entry_handler_options.offset')
pam_mysql.c:1686: error: initializer element is not constant
pam_mysql.c:1686: error: (near initialization for `pam_mysql_entry_handler_options')
pam_mysql.c:1687: error: syntax error before ')' token
pam_mysql.c:1687: error: initializer element is not constant
pam_mysql.c:1687: error: (near initialization for `pam_mysql_entry_handler_options.offset')
pam_mysql.c:1687: error: initializer element is not constant
pam_mysql.c:1687: error: (near initialization for `pam_mysql_entry_handler_options')
pam_mysql.c:1688: error: syntax error before ')' token
pam_mysql.c:1688: error: initializer element is not constant
pam_mysql.c:1688: error: (near initialization for `pam_mysql_entry_handler_options.offset')
pam_mysql.c:1688: error: initializer element is not constant
pam_mysql.c:1688: error: (near initialization for `pam_mysql_entry_handler_options')
pam_mysql.c:1689: error: syntax error before ')' token
pam_mysql.c:1689: error: initializer element is not constant
pam_mysql.c:1689: error: (near initialization for `pam_mysql_entry_handler_options.offset')
pam_mysql.c:1689: error: initializer element is not constant
pam_mysql.c:1689: error: (near initialization for `pam_mysql_entry_handler_options')
pam_mysql.c:1690: error: syntax error before ')' token
pam_mysql.c:1690: error: initializer element is not constant
pam_mysql.c:1690: error: (near initialization for `pam_mysql_entry_handler_options.offset')
pam_mysql.c:1690: error: initializer element is not constant
pam_mysql.c:1690: error: (near initialization for `pam_mysql_entry_handler_options')
pam_mysql.c:1691: error: syntax error before ')' token
pam_mysql.c:1691: error: initializer element is not constant
pam_mysql.c:1691: error: (near initialization for `pam_mysql_entry_handler_options.offset')
pam_mysql.c:1691: error: initializer element is not constant
pam_mysql.c:1691: error: (near initialization for `pam_mysql_entry_handler_options')
pam_mysql.c:1692: error: initializer element is not constant
pam_mysql.c:1692: error: (near initialization for `pam_mysql_entry_handler_options')
pam_mysql.c:1697: error: syntax error before '*' token
pam_mysql.c: In function `pam_mysql_handle_entry':
pam_mysql.c:1701: error: request for member `options' in something not a structure or union
pam_mysql.c:1701: error: `name' undeclared (first use in this function)
pam_mysql.c:1702: error: `name_len' undeclared (first use in this function)
pam_mysql.c:1705: error: request for member `ctx' in something not a structure or union
pam_mysql.c:1708: error: `line_num' undeclared (first use in this function)
pam_mysql.c:1714: error: request for member `ctx' in something not a structure or union
pam_mysql.c:1714: error: `value' undeclared (first use in this function)
pam_mysql.c:1715: error: request for member `ctx' in something not a structure or union
pam_mysql.c: At top level:
pam_mysql.c:1727: error: syntax error before '*' token
pam_mysql.c: In function `pam_mysql_entry_handler_init':
pam_mysql.c:1729: error: request for member `handle_entry_fn' in something not a structure or union
pam_mysql.c:1730: error: request for member `ctx' in something not a structure or union
pam_mysql.c:1730: error: `ctx' undeclared (first use in this function)
pam_mysql.c:1731: error: request for member `options' in something not a structure or union
pam_mysql.c: At top level:
pam_mysql.c:1739: error: syntax error before '*' token
pam_mysql.c:1747: error: syntax error before '*' token
pam_mysql.c: In function `pam_mysql_get_host_info':
pam_mysql.c:1753: error: `ctx' undeclared (first use in this function)
pam_mysql.c:1754: error: `pretval' undeclared (first use in this function)
pam_mysql.c: At top level:
pam_mysql.c:1943: error: syntax error before '*' token
pam_mysql.c: In function `pam_mysql_init_ctx':
pam_mysql.c:1945: error: `ctx' undeclared (first use in this function)
pam_mysql.c: At top level:
pam_mysql.c:1979: error: syntax error before '*' token
pam_mysql.c: In function `pam_mysql_destroy_ctx':
pam_mysql.c:1981: error: `ctx' undeclared (first use in this function)
pam_mysql.c: At top level:
pam_mysql.c:2047: error: syntax error before '*' token
pam_mysql.c: In function `pam_mysql_release_ctx':
pam_mysql.c:2049: error: `ctx' undeclared (first use in this function)
pam_mysql.c: In function `pam_mysql_cleanup_hdlr':
pam_mysql.c:2063: error: syntax error before ')' token
pam_mysql.c: At top level:
pam_mysql.c:2069: error: syntax error before '*' token
pam_mysql.c: In function `pam_mysql_retrieve_ctx':
pam_mysql.c:2073: error: `pamh' undeclared (first use in this function)
pam_mysql.c:2074: error: `pretval' undeclared (first use in this function)
pam_mysql.c:2088: error: syntax error before ')' token
pam_mysql.c: At top level:
pam_mysql.c:2110: error: syntax error before "return"
pam_mysql.c:2116: error: syntax error before '*' token
pam_mysql.c: In function `pam_mysql_set_option':
pam_mysql.c:2118: error: `name' undeclared (first use in this function)
pam_mysql.c:2118: error: `name_len' undeclared (first use in this function)
pam_mysql.c:2121: error: `ctx' undeclared (first use in this function)
pam_mysql.c:2130: error: `val' undeclared (first use in this function)
pam_mysql.c: At top level:
pam_mysql.c:2136: error: syntax error before '*' token
pam_mysql.c: In function `pam_mysql_get_option':
pam_mysql.c:2138: error: `name' undeclared (first use in this function)
pam_mysql.c:2138: error: `name_len' undeclared (first use in this function)
pam_mysql.c:2141: error: `ctx' undeclared (first use in this function)
pam_mysql.c:2150: error: `pretval' undeclared (first use in this function)
pam_mysql.c:2150: error: `to_release' undeclared (first use in this function)
pam_mysql.c: At top level:
pam_mysql.c:2156: error: syntax error before '*' token
pam_mysql.c: In function `pam_mysql_parse_args':
pam_mysql.c:2164: error: `argc' undeclared (first use in this function)
pam_mysql.c:2165: error: `argv' undeclared (first use in this function)
pam_mysql.c:2176: error: `ctx' undeclared (first use in this function)
pam_mysql.c: At top level:
pam_mysql.c:2202: error: syntax error before '*' token
pam_mysql.c: In function `pam_mysql_read_config_file':
pam_mysql.c:2206: error: syntax error before "handler"
pam_mysql.c:2211: error: `handler' undeclared (first use in this function)
pam_mysql.c:2211: error: `ctx' undeclared (first use in this function)
pam_mysql.c:2215: error: `path' undeclared (first use in this function)
pam_mysql.c:2220: error: `parser' undeclared (first use in this function)
pam_mysql.c: At top level:
pam_mysql.c:2238: error: syntax error before '*' token
pam_mysql.c: In function `pam_mysql_open_db':
pam_mysql.c:2245: error: `ctx' undeclared (first use in this function)
pam_mysql.c:2253: error: `MYSQL' undeclared (first use in this function)
pam_mysql.c:2292: warning: comparison between pointer and integer
pam_mysql.c:2299: warning: comparison between pointer and integer
pam_mysql.c: At top level:
pam_mysql.c:2330: error: syntax error before '*' token
pam_mysql.c: In function `pam_mysql_close_db':
pam_mysql.c:2332: error: `ctx' undeclared (first use in this function)
pam_mysql.c: At top level:
pam_mysql.c:2349: error: syntax error before '*' token
pam_mysql.c: In function `pam_mysql_quick_escape':
pam_mysql.c:2353: error: `ctx' undeclared (first use in this function)
pam_mysql.c:2357: error: `val_len' undeclared (first use in this function)
pam_mysql.c:2357: error: `append_to' undeclared (first use in this function)
pam_mysql.c:2365: error: `val' undeclared (first use in this function)
pam_mysql.c: At top level:
pam_mysql.c:2374: error: syntax error before '*' token
pam_mysql.c: In function `pam_mysql_format_string':
pam_mysql.c:2384: error: `ctx' undeclared (first use in this function)
pam_mysql.c:2388: error: `mangle' undeclared (first use in this function)
pam_mysql.c:2391: error: `template' undeclared (first use in this function)
pam_mysql.c:2395: error: `pretval' undeclared (first use in this function)
pam_mysql.c: At top level:
pam_mysql.c:2559: error: syntax error before '*' token
pam_mysql.c: In function `pam_mysql_check_passwd':
pam_mysql.c:2564: error: `MYSQL_RES' undeclared (first use in this function)
pam_mysql.c:2564: error: `result' undeclared (first use in this function)
pam_mysql.c:2565: error: `MYSQL_ROW' undeclared (first use in this function)
pam_mysql.c:2565: error: syntax error before "row"
pam_mysql.c:2568: error: `ctx' undeclared (first use in this function)
pam_mysql.c:2625: error: `row' undeclared (first use in this function)
pam_mysql.c:2704: error: `null_inhibited' undeclared (first use in this function)
pam_mysql.c: At top level:
pam_mysql.c:2734: error: syntax error before '*' token
pam_mysql.c: In function `pam_mysql_saltify':
pam_mysql.c:2742: error: `ctx' undeclared (first use in this function)
pam_mysql.c:2746: error: `salter' undeclared (first use in this function)
pam_mysql.c:2763: error: `salt' undeclared (first use in this function)
pam_mysql.c: At top level:
pam_mysql.c:2793: error: syntax error before '*' token
pam_mysql.c: In function `pam_mysql_update_passwd':
pam_mysql.c:2803: error: `ctx' undeclared (first use in this function)
pam_mysql.c:2816: error: `new_passwd' undeclared (first use in this function)
pam_mysql.c: At top level:
pam_mysql.c:2933: error: syntax error before '*' token
pam_mysql.c: In function `pam_mysql_query_user_stat':
pam_mysql.c:2938: error: `MYSQL_RES' undeclared (first use in this function)
pam_mysql.c:2938: error: `result' undeclared (first use in this function)
pam_mysql.c:2939: error: `MYSQL_ROW' undeclared (first use in this function)
pam_mysql.c:2939: error: syntax error before "row"
pam_mysql.c:2941: error: `ctx' undeclared (first use in this function)
pam_mysql.c:2992: error: `row' undeclared (first use in this function)
pam_mysql.c:2998: error: `pretval' undeclared (first use in this function)
pam_mysql.c: At top level:
pam_mysql.c:3028: error: syntax error before '*' token
pam_mysql.c: In function `pam_mysql_sql_log':
pam_mysql.c:3034: error: `ctx' undeclared (first use in this function)
pam_mysql.c:3084: error: `msg' undeclared (first use in this function)
pam_mysql.c:3084: error: `rhost' undeclared (first use in this function)
pam_mysql.c: At top level:
pam_mysql.c:3127: error: syntax error before '*' token
pam_mysql.c: In function `pam_mysql_converse':
pam_mysql.c:3140: error: `ctx' undeclared (first use in this function)
pam_mysql.c:3144: error: `nargs' undeclared (first use in this function)
pam_mysql.c:3147: error: `pamh' undeclared (first use in this function)
pam_mysql.c:3243: error: `pretval' undeclared (first use in this function)
pam_mysql.c: At top level:
pam_mysql.c:3254: error: syntax error before '*' token
pam_mysql.c: In function `pam_mysql_query_user_caps':
pam_mysql.c:3257: error: `pretval' undeclared (first use in this function)
pam_mysql.c: In function `pam_sm_authenticate':
pam_mysql.c:3282: error: `ctx' undeclared (first use in this function)
pam_mysql.c: In function `pam_sm_acct_mgmt':
pam_mysql.c:3529: error: `ctx' undeclared (first use in this function)
pam_mysql.c: In function `pam_sm_chauthtok':
pam_mysql.c:3690: error: `ctx' undeclared (first use in this function)
pam_mysql.c: In function `pam_sm_open_session':
pam_mysql.c:4061: error: `ctx' undeclared (first use in this function)
pam_mysql.c: In function `pam_sm_close_session':
pam_mysql.c:4164: error: `ctx' undeclared (first use in this function)
pam_mysql.c: In function `pam_mysql_format_string':
pam_mysql.c:2388: error: `va_start' used in function with fixed args
pam_mysql.c: In function `pam_mysql_converse':
pam_mysql.c:3144: error: `va_start' used in function with fixed args
make: *** Error 1

[火星人 ] 裝VSFTPD伺服器,pam_mysql-0.7RC1安裝老是出錯??麻煩幫我看看已經有346次圍觀

http://coctec.com/docs/service/show-post-30161.html