Kevin Horton wrote:
cyrus-sasl2-2.1.21-3 does not compile for me.
It fails with:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../lib -I../sasldb -
I../include -I/sw/lib/system-openssl/include -I/sw/include -I/sw/
include/db4 -I/sw/lib/system-openssl/include -Wall -W -g -O2 -c otp.c
-fno-common -DPIC -o otp.lo
otp.c: In function 'otp_hash':
otp.c:127: warning: pointer targets in passing argument 2 of
'EVP_DigestFinal' differ in signedness
otp.c:127: warning: pointer targets in passing argument 3 of
'EVP_DigestFinal' differ in signedness
otp.c: In function 'generate_otp':
otp.c:166: warning: pointer targets in passing argument 4 of 'otp_hash'
differ in signedness
otp.c:170: warning: pointer targets in passing argument 4 of 'otp_hash'
differ in signedness
otp.c: In function 'otp_common_mech_free':
otp.c:276: warning: unused parameter 'global_context'
otp.c:277: warning: unused parameter 'utils'
otp.c: In function 'otp_server_mech_new':
otp.c:308: warning: unused parameter 'glob_context'
otp.c:310: warning: unused parameter 'challenge'
otp.c:311: warning: unused parameter 'challen'
otp.c: In function 'make_secret':
otp.c:607: warning: pointer targets in passing argument 1 of 'bin2hex'
differ in signedness
otp.c:611: warning: pointer targets in passing argument 1 of 'sprintf'
differ in signedness
otp.c: In function 'parse_secret':
otp.c:637: warning: pointer targets in assignment differ in signedness
otp.c:642: warning: pointer targets in passing argument 1 of 'strtoul'
differ in signedness
otp.c: In function 'word2bin':
otp.c:753: warning: pointer targets in passing argument 2 of
'EVP_DigestFinal' differ in signedness
otp.c:753: warning: pointer targets in passing argument 3 of
'EVP_DigestFinal' differ in signedness
otp.c: In function 'verify_response':
otp.c:845: warning: pointer targets in passing argument 2 of 'otp_hash'
differ in signedness
otp.c: In function 'otp_server_mech_step1':
otp.c:1054: warning: pointer targets in passing argument 5 of
'make_secret' differ in signedness
otp.c:1068: warning: pointer targets in passing argument 3 of 'params-
>utils->prop_set' differ in signedness
otp.c: In function 'otp_server_mech_step2':
otp.c:1137: warning: pointer targets in passing argument 5 of
'make_secret' differ in signedness
otp.c:1150: warning: pointer targets in passing argument 3 of 'params-
>utils->prop_set' differ in signedness
otp.c:1105: warning: unused parameter 'serverout'
otp.c:1106: warning: unused parameter 'serveroutlen'
otp.c: In function 'otp_server_mech_dispose':
otp.c:1227: warning: pointer targets in passing argument 5 of
'make_secret' differ in signedness
otp.c:1243: warning: pointer targets in passing argument 3 of 'utils-
>prop_set' differ in signedness
otp.c: In function 'otp_setpass':
otp.c:1360: warning: pointer targets in passing argument 3 of
'sparams->utils->prop_set' differ in signedness
otp.c:1264: warning: unused parameter 'glob_context'
otp.c:1268: warning: unused parameter 'passlen'
otp.c:1269: warning: unused parameter 'oldpass'
otp.c:1270: warning: unused parameter 'oldpasslen'
otp.c: In function 'otp_mech_avail':
otp.c:1384: warning: unused parameter 'glob_context'
otp.c:1386: warning: unused parameter 'conn_context'
otp.c: In function 'otp_client_mech_new':
otp.c:1457: warning: unused parameter 'glob_context'
otp.c: In function 'otp_client_mech_step1':
otp.c:1481: warning: unused parameter 'serverin'
otp.c:1482: warning: unused parameter 'serverinlen'
otp.c: In function 'otp_client_mech_step2':
otp.c:1676: warning: pointer targets in passing argument 5 of
'generate_otp' differ in signedness
otp.c:1699: warning: pointer targets in passing argument 5 of
'generate_otp' differ in signedness
otp.c:1705: warning: pointer targets in passing argument 1 of 'bin2hex'
differ in signedness
otp.c:1709: warning: pointer targets in passing argument 1 of 'bin2hex'
differ in signedness
otp.c:1720: warning: pointer targets in passing argument 1 of 'bin2hex'
differ in signedness
/var/tmp//cciBDbhZ.s:4465:Rest of line ignored. 1st junk character
valued 77 (M).
/var/tmp//cciBDbhZ.s:8266:I need a comma after symbol's name
/var/tmp//cciBDbhZ.s:8266:Rest of line ignored. 1st junk character
valued 108 (l).
/var/tmp//cciBDbhZ.s:8266:Spurious digit 0.
/var/tmp//cciBDbhZ.s:8266:Spurious digit 0.
/var/tmp//cciBDbhZ.s:8266:Rest of line ignored. 1st junk character
valued 51 (3).
/var/tmp//cciBDbhZ.s:8266:Invalid mnemonic ',128,0,0,0'
make[2]: *** [otp.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of make failed, exit code 2
Removing build lock...
/sw/bin/dpkg-lockwait -r fink-buildlock-cyrus-sasl2-2.1.21-3
(Reading database ... 123451 files and directories currently installed.)
Removing fink-buildlock-cyrus-sasl2-2.1.21-3 ...
Failed: phase compiling: cyrus-sasl2-2.1.21-3 failed
====================
I'm running an up-to-date unstable fink on OS X 10.4.2 with XCode 2.1
% fink --version
swPackage manager version: 0.24.9
Distribution version: 0.8.0.rsync
% sw_vers
ProductName: Mac OS X
ProductVersion: 10.4.2
BuildVersion: 8C46
Kevin Horton
Ottawa, Canada
It worked for me (with a nominally similar setup). I got all of the
otp.c warnings, but the build proceeded normally.
--
Alexander Hansen
Fink Documenter
[Day Job] Levitated Dipole Experiment
http://psfcwww2.psfc.mit.edu/ldx/
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users