[Likewise-open-discuss] Compile error

Srinivas Kakde srinivas.kakde at yahoo.com
Thu Dec 6 16:21:00 PST 2007


Hi,

I just downloaded the likewise-open-4.0.0 release.  It doesn't compile on Fedora 7.   Configures properly but does not compile.  It looks like pam header files are not included properly. 

Compiling nsswitch/pam_winbind.c
nsswitch/pam_winbind.c:26: error: expected ‘)’ before ‘*’ token
nsswitch/pam_winbind.c:119: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
nsswitch/pam_winbind.c:126: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
nsswitch/pam_winbind.c:145: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
nsswitch/pam_winbind.c: In function ‘WblStatusToPamError’:
nsswitch/pam_winbind.c:173: error: ‘PAM_SUCCESS’ undeclared (first use in this function)
nsswitch/pam_winbind.c:173: error: (Each undeclared identifier is reported only once
nsswitch/pam_winbind.c:173: error: for each function it appears in.)
nsswitch/pam_winbind.c:176: error: ‘PAM_SYSTEM_ERR’ undeclared (first use in this function)
nsswitch/pam_winbind.c:178: error: ‘PAM_BUF_ERR’ undeclared (first use in this function)
nsswitch/pam_winbind.c:183: error: ‘PAM_AUTHINFO_UNAVAIL’ undeclared (first use in this function)
nsswitch/pam_winbind.c:185: error: ‘PAM_AUTH_ERR’ undeclared (first use in this function)
nsswitch/pam_winbind.c:187: error: ‘PAM_USER_UNKNOWN’ undeclared (first use in this function)
nsswitch/pam_winbind.c:192: error: ‘PAM_PERM_DENIED’ undeclared (first use in this function)
nsswitch/pam_winbind.c:196: error: ‘PAM_ACCT_EXPIRED’ undeclared (first use in this function)
nsswitch/pam_winbind.c:204: error: ‘PAM_NEW_AUTHTOK_REQD’ undeclared (first use in this function)
nsswitch/pam_winbind.c:210: error: ‘PAM_AUTHTOK_ERR’ undeclared (first use in this function)
nsswitch/pam_winbind.c: At top level:
nsswitch/pam_winbind.c:239: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
nsswitch/pam_winbind.c:240: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
nsswitch/pam_winbind.c:273: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
nsswitch/pam_winbind.c:274: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
nsswitch/pam_winbind.c:287: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
nsswitch/pam_winbind.c:336: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
nsswitch/pam_winbind.c: In function ‘LogToSyslog’:
nsswitch/pam_winbind.c:379: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
nsswitch/pam_winbind.c:379: error: ‘pamh’ undeclared (first use in this function)
nsswitch/pam_winbind.c:379: error: expected ‘)’ before ‘pam_handle_t’
nsswitch/pam_winbind.c:379: warning: cast from pointer to integer of different size
nsswitch/pam_winbind.c: In function ‘MessageToPam’:
nsswitch/pam_winbind.c:421: error: ‘PAM_ERROR_MSG’ undeclared (first use in this function)
nsswitch/pam_winbind.c:428: error: ‘PAM_TEXT_INFO’ undeclared (first use in this function)
nsswitch/pam_winbind.c:431: error: ‘pam_handle_t’ undeclared (first use in this function)
nsswitch/pam_winbind.c:431: error: expected expression before ‘)’ token
nsswitch/pam_winbind.c: At top level:
nsswitch/pam_winbind.c:438: error: expected ‘)’ before ‘*’ token
nsswitch/pam_winbind.c:462: error: expected ‘)’ before ‘*’ token
nsswitch/pam_winbind.c:534: error: expected ‘)’ before ‘*’ token
nsswitch/pam_winbind.c:553: error: expected ‘)’ before ‘*’ token
nsswitch/pam_winbind.c:580: error: expected ‘)’ before ‘*’ token
nsswitch/pam_winbind.c:600: error: expected ‘)’ before ‘*’ token
nsswitch/pam_winbind.c:601: error: expected ‘)’ before ‘*’ token
nsswitch/pam_winbind.c:612: error: expected ‘)’ before ‘*’ token
nsswitch/pam_winbind.c:693: error: expected ‘)’ before ‘*’ token
nsswitch/pam_winbind.c:787: error: expected ‘)’ before ‘*’ token
nsswitch/pam_winbind.c:823: error: expected ‘)’ before ‘*’ token
nsswitch/pam_winbind.c:848: error: expected ‘)’ before ‘*’ token
nsswitch/pam_winbind.c:867: error: expected ‘)’ before ‘*’ token
nsswitch/pam_winbind.c:906: error: expected ‘)’ before ‘*’ token
nsswitch/pam_winbind.c:1008: error: expected ‘)’ before ‘*’ token
nsswitch/pam_winbind.c:1185: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
nsswitch/pam_winbind.c:1352: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
nsswitch/pam_winbind.c:1409: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
nsswitch/pam_winbind.c:1531: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
nsswitch/pam_winbind.c:1568: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
nsswitch/pam_winbind.c:1624: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
The following command failed:
gcc -I. -I/home/mpeterso/Backedup/tmp/likewise-open-4.0.0-release/winbindd/source -DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd" -DPRIVATE_DIR="/usr/local/samba/private" -DCONFIGFILE="/usr/local/samba/lib/lwiauthd.conf" -DSBINDIR="/usr/local/samba/sbin" -DBINDIR="/usr/local/samba/bin" -DLMHOSTSFILE="/usr/local/samba/lib/lmhosts" -DSWATDIR="/usr/local/samba/swat" -DLOCKDIR="/usr/local/samba/var/locks" -DPIDDIR="/usr/local/samba/var/locks" -DLIBDIR="/usr/local/samba/lib" -DLOGFILEBASE="/usr/local/samba/var" -DSHLIBEXT="so" -DCTDBDIR="" -DCONFIGDIR="/usr/local/samba/lib"  -O -D_SAMBA_BUILD_=3  -I/home/mpeterso/Backedup/tmp/likewise-open-4.0.0-release/winbindd/source/iniparser/src -Iinclude -I./include  -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H  -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLDAP_DEPRECATED   -I/include
 -I/home/mpeterso/Backedup/tmp/likewise-open-4.0.0-release/winbindd/source/lib -D_SAMBA_BUILD_=3 -fPIC -c nsswitch/pam_winbind.c -o nsswitch/pam_winbind.o

$ cat /etc/fedora-release
Fedora release 7 (Moonshine)







      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.likewisesoftware.com/pipermail/likewise-open-discuss/attachments/20071206/351f40fe/attachment.htm 


More information about the Likewise-open-discuss mailing list