Menu

#54 Getting erro while doing make of file

open
nobody
None
5
2014-07-26
2010-01-15
Anonymous
No

make
gcc -c -o smbencrypt/SMBPasswdGen.o smbencrypt/SMBPasswdGen.c
gcc -c -o smbencrypt/encrypt.o smbencrypt/encrypt.c
gcc -c -o smbencrypt/md4.o smbencrypt/md4.c
gcc -c -o smbencrypt/smbencrypt.o smbencrypt/smbencrypt.c
gcc changepassword.c -o changepassword.cgi smbencrypt/SMBPasswdGen.o smbencrypt/md4.o smbencrypt/smbencrypt.o smbencrypt/encrypt.o -lcrypt -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBCRYPT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_STRING_H=1 -DHAVE_STDLIB_H=1 -DHAVE_PWD_H=1 -DHAVE_ERRNO_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_SHADOW_H=1 -DHAVE_TIME_H=1 -DEnglish -DSMBPASSWD=\"/usr/local/samba/private/smbpasswd\" -DSQUIDPASSWD=\"/etc/squid/passwd\" -DLOGO=\"none\" -L./smbencrypt -ldes
changepassword.c: In function `main':
changepassword.c:188: warning: passing arg 1 of `strcmp' makes pointer from integer without a cast
changepassword.c:226: warning: assignment makes pointer from integer without a cast
changepassword.c: In function `changesquidpass':
changepassword.c:600: warning: assignment makes pointer from integer without a cast
ld: warning: file ./smbencrypt/libdes.a(ecb_enc.o): wrong ELF machine type: EM_386
Undefined first referenced
symbol in file
des_ecb_encrypt smbencrypt/smbencrypt.o
des_set_odd_parity smbencrypt/smbencrypt.o
des_set_key smbencrypt/smbencrypt.o
ld: fatal: Symbol referencing errors. No output written to changepassword.cgi
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `changepassword.cgi'

Discussion


Log in to post a comment.