FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CRUX > CRUX

 
 
LinkBack Thread Tools
 
Old 03-20-2009, 09:41 AM
Milan Buska
 
Default compile cyrus-sasl - error

Hi.
Please help.

Compiling cyrus-sasl ports/opt
prt-get depinst cyrus-sasl --log =>

=> less cyrus-sasl.log | grep warning =>
allockey.c:191: warning: pointer targets in passing argument 6 of
'_sasldb_putdata' differ in signedness
allockey.c:197: warning: unused parameter 'rock'
allockey.c:191: warning: pointer targets in passing argument 6 of
'_sasldb_putdata' differ in signedness
allockey.c:197: warning: unused parameter 'rock'
sasldb.c:59: warning: unused parameter 'glob_context'
sasldb.c:132: warning: unused parameter 'glob_context'
sasldb.c:223: warning: unused parameter 'plugname'
plugin_common.c:293: warning: pointer targets in passing argument 1 of
'utils->erasebuffer' differ in signedness
plugin_common.c:91: warning: dereferencing pointer 'ss.28' does break
strict-aliasing rules
plugin_common.c:98: warning: dereferencing pointer 'sin6' does break
strict-aliasing rules
plugin_common.c:94: warning: dereferencing pointer 'sin6' does break
strict-aliasing rules
plugin_common.c:94: warning: dereferencing pointer 'sin6' does break
strict-aliasing rules
plugin_common.c:94: warning: dereferencing pointer 'sin6' does break
strict-aliasing rules
plugin_common.c:102: warning: dereferencing pointer 'sin4' does break
strict-aliasing rules
plugin_common.c:101: warning: dereferencing pointer 'sin4' does break
strict-aliasing rules
plugin_common.c:100: warning: dereferencing pointer 'sin4' does break
strict-aliasing rules
cram.c:101: warning: unused parameter 'glob_context'
cram.c:103: warning: unused parameter 'challenge'
cram.c:104: warning: unused parameter 'challen'
cram.c:167: warning: unused parameter 'clientin'
cram.c:171: warning: unused parameter 'oparams'
cram.c:217: warning: unused parameter 'serverout'
cram.c:218: warning: unused parameter 'serveroutlen'
cram.c:461: warning: unused parameter 'glob_context'
digestmd5.c:279: warning: pointer targets in initialization differ in
signedness
digestmd5.c:366: warning: pointer targets in passing argument 2 of
'utils->MD5Update' differ in signedness
digestmd5.c:842: warning: unused parameter 'digest'
digestmd5.c:960: warning: unused parameter 'digest'
digestmd5.c:1211: warning: unused parameter 'digest'
digestmd5.c:1401: warning: pointer targets in passing argument 5 of
'text->utils->hmac_md5' differ in signedness
digestmd5.c:1497: warning: pointer targets in assignment differ in
signedness
digestmd5.c:1797: warning: unused parameter 'challenge'
digestmd5.c:1798: warning: unused parameter 'challen'
digestmd5.c:1947: warning: pointer targets in passing argument 6 of
'add_to_challenge' differ in signedness
digestmd5.c:1820: warning: unused parameter 'clientin'
digestmd5.c:1821: warning: unused parameter 'clientinlen'
digestmd5.c:1824: warning: unused parameter 'oparams'
digestmd5.c:2235: warning: pointer targets in passing argument 2 of
'_plug_strdup' differ in signedness
digestmd5.c:2238: warning: pointer targets in passing argument 2 of
'_plug_strdup' differ in signedness
digestmd5.c:2274: warning: pointer targets in passing argument 1 of
'strlen' differ in signedness
digestmd5.c:2274: warning: pointer targets in passing argument 1 of
'__builtin_strcmp' differ in signedness
digestmd5.c:2274: warning: pointer targets in passing argument 1 of
'strlen' differ in signedness
digestmd5.c:2274: warning: pointer targets in passing argument 1 of
'__builtin_strcmp' differ in signedness
digestmd5.c:2274: warning: pointer targets in passing argument 1 of
'__builtin_strcmp' differ in signedness
digestmd5.c:2274: warning: pointer targets in passing argument 1 of
'__builtin_strcmp' differ in signedness
digestmd5.c:2286: warning: pointer targets in passing argument 1 of
'strlen' differ in signedness
digestmd5.c:2286: warning: pointer targets in passing argument 1 of
'strlen' differ in signedness
digestmd5.c:2286: warning: pointer targets in passing argument 1 of
'__builtin_strcmp' differ in signedness
digestmd5.c:2286: warning: pointer targets in passing argument 2 of
'__builtin_strcmp' differ in signedness
digestmd5.c:2286: warning: pointer targets in passing argument 1 of
'strlen' differ in signedness
digestmd5.c:2286: warning: pointer targets in passing argument 1 of
'__builtin_strcmp' differ in signedness
digestmd5.c:2286: warning: pointer targets in passing argument 2 of
'__builtin_strcmp' differ in signedness
digestmd5.c:2286: warning: pointer targets in passing argument 1 of
'strlen' differ in signedness
digestmd5.c:2286: warning: pointer targets in passing argument 1 of
'__builtin_strcmp' differ in signedness
digestmd5.c:2286: warning: pointer targets in passing argument 2 of
'__builtin_strcmp' differ in signedness
digestmd5.c:2286: warning: pointer targets in passing argument 1 of
'__builtin_strcmp' differ in signedness
digestmd5.c:2286: warning: pointer targets in passing argument 2 of
'__builtin_strcmp' differ in signedness
digestmd5.c:2351: warning: pointer targets in passing argument 1 of
'__builtin_strncpy' differ in signedness
digestmd5.c:2369: warning: pointer targets in passing argument 2 of
'DigestCalcSecret' differ in signedness
digestmd5.c:2369: warning: pointer targets in passing argument 3 of
'DigestCalcSecret' differ in signedness
digestmd5.c:2514: warning: pointer targets in passing argument 2 of
'text->cipher_init' differ in signedness
digestmd5.c:2514: warning: pointer targets in passing argument 3 of
'text->cipher_init' differ in signedness
digestmd5.c:3010: warning: pointer targets in passing argument 3 of
'calculate_response' differ in signedness

# tail cyrus-sasl.log

digestmd5.c:3840: warning: unused parameter 'clientoutlen'
digestmd5.c: In function 'digestmd5_client_mech_step':
digestmd5.c:4000: warning: pointer targets in assignment differ in
signedness
digestmd5.c:4037:15: error: #elif with no expression
make[2]: *** [digestmd5.lo] Error 1
make[2]: Leaving directory
`/usr/ports/opt/cyrus-sasl/work/src/cyrus-sasl-2.1.22/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/usr/ports/opt/cyrus-sasl/work/src/cyrus-sasl-2.1.22'
make: *** [all] Error 2
=======> ERROR: Building
'/usr/ports/opt/cyrus-sasl/cyrus-sasl#2.1.22-2.pkg.tar.gz' failed.

newishi
--
Remember, no question is too stupid and no problem too small
-- We've all been beginners
_______________________________________________
CRUX mailing list
CRUX@lists.crux.nu
http://lists.crux.nu/mailman/listinfo/crux
 
Old 03-20-2009, 10:25 AM
Mauricio Faria de Oliveira
 
Default compile cyrus-sasl - error

Hello.

> Please help.
I'll try. :-)

...
> digestmd5.c:4037:15: error: #elif with no expression
...
Well, after a huge bunch of warnings (which are not that harmful),
there's an error related to
a missing #if expression. Maybe you should look for that (missing
conditional expression).
If you're not a C/C++ programmer this may be difficult for you to
solve, so you may ask port's maintainer/cyrus sasl developers.

Hope it helps.

Regards,
Maurício
Brazil

On Fri, Mar 20, 2009 at 7:41 AM, Milan Buska <mbuska@centrum.cz> wrote:
>
> Hi.
> Please help.
>
> Compiling cyrus-sasl ports/opt
> prt-get depinst cyrus-sasl --log =>
>
> => less cyrus-sasl.log | grep warning =>
> allockey.c:191: warning: pointer targets in passing argument 6 of
> '_sasldb_putdata' differ in signedness
> allockey.c:197: warning: unused parameter 'rock'
> allockey.c:191: warning: pointer targets in passing argument 6 of
> '_sasldb_putdata' differ in signedness
> allockey.c:197: warning: unused parameter 'rock'
> sasldb.c:59: warning: unused parameter 'glob_context'
> sasldb.c:132: warning: unused parameter 'glob_context'
> sasldb.c:223: warning: unused parameter 'plugname'
> plugin_common.c:293: warning: pointer targets in passing argument 1 of
> 'utils->erasebuffer' differ in signedness
> plugin_common.c:91: warning: dereferencing pointer 'ss.28' does break
> strict-aliasing rules
> plugin_common.c:98: warning: dereferencing pointer 'sin6' does break
> strict-aliasing rules
> plugin_common.c:94: warning: dereferencing pointer 'sin6' does break
> strict-aliasing rules
> plugin_common.c:94: warning: dereferencing pointer 'sin6' does break
> strict-aliasing rules
> plugin_common.c:94: warning: dereferencing pointer 'sin6' does break
> strict-aliasing rules
> plugin_common.c:102: warning: dereferencing pointer 'sin4' does break
> strict-aliasing rules
> plugin_common.c:101: warning: dereferencing pointer 'sin4' does break
> strict-aliasing rules
> plugin_common.c:100: warning: dereferencing pointer 'sin4' does break
> strict-aliasing rules
> cram.c:101: warning: unused parameter 'glob_context'
> cram.c:103: warning: unused parameter 'challenge'
> cram.c:104: warning: unused parameter 'challen'
> cram.c:167: warning: unused parameter 'clientin'
> cram.c:171: warning: unused parameter 'oparams'
> cram.c:217: warning: unused parameter 'serverout'
> cram.c:218: warning: unused parameter 'serveroutlen'
> cram.c:461: warning: unused parameter 'glob_context'
> digestmd5.c:279: warning: pointer targets in initialization differ in
> signedness
> digestmd5.c:366: warning: pointer targets in passing argument 2 of
> 'utils->MD5Update' differ in signedness
> digestmd5.c:842: warning: unused parameter 'digest'
> digestmd5.c:960: warning: unused parameter 'digest'
> digestmd5.c:1211: warning: unused parameter 'digest'
> digestmd5.c:1401: warning: pointer targets in passing argument 5 of
> 'text->utils->hmac_md5' differ in signedness
> digestmd5.c:1497: warning: pointer targets in assignment differ in
> signedness
> digestmd5.c:1797: warning: unused parameter 'challenge'
> digestmd5.c:1798: warning: unused parameter 'challen'
> digestmd5.c:1947: warning: pointer targets in passing argument 6 of
> 'add_to_challenge' differ in signedness
> digestmd5.c:1820: warning: unused parameter 'clientin'
> digestmd5.c:1821: warning: unused parameter 'clientinlen'
> digestmd5.c:1824: warning: unused parameter 'oparams'
> digestmd5.c:2235: warning: pointer targets in passing argument 2 of
> '_plug_strdup' differ in signedness
> digestmd5.c:2238: warning: pointer targets in passing argument 2 of
> '_plug_strdup' differ in signedness
> digestmd5.c:2274: warning: pointer targets in passing argument 1 of
> 'strlen' differ in signedness
> digestmd5.c:2274: warning: pointer targets in passing argument 1 of
> '__builtin_strcmp' differ in signedness
> digestmd5.c:2274: warning: pointer targets in passing argument 1 of
> 'strlen' differ in signedness
> digestmd5.c:2274: warning: pointer targets in passing argument 1 of
> '__builtin_strcmp' differ in signedness
> digestmd5.c:2274: warning: pointer targets in passing argument 1 of
> '__builtin_strcmp' differ in signedness
> digestmd5.c:2274: warning: pointer targets in passing argument 1 of
> '__builtin_strcmp' differ in signedness
> digestmd5.c:2286: warning: pointer targets in passing argument 1 of
> 'strlen' differ in signedness
> digestmd5.c:2286: warning: pointer targets in passing argument 1 of
> 'strlen' differ in signedness
> digestmd5.c:2286: warning: pointer targets in passing argument 1 of
> '__builtin_strcmp' differ in signedness
> digestmd5.c:2286: warning: pointer targets in passing argument 2 of
> '__builtin_strcmp' differ in signedness
> digestmd5.c:2286: warning: pointer targets in passing argument 1 of
> 'strlen' differ in signedness
> digestmd5.c:2286: warning: pointer targets in passing argument 1 of
> '__builtin_strcmp' differ in signedness
> digestmd5.c:2286: warning: pointer targets in passing argument 2 of
> '__builtin_strcmp' differ in signedness
> digestmd5.c:2286: warning: pointer targets in passing argument 1 of
> 'strlen' differ in signedness
> digestmd5.c:2286: warning: pointer targets in passing argument 1 of
> '__builtin_strcmp' differ in signedness
> digestmd5.c:2286: warning: pointer targets in passing argument 2 of
> '__builtin_strcmp' differ in signedness
> digestmd5.c:2286: warning: pointer targets in passing argument 1 of
> '__builtin_strcmp' differ in signedness
> digestmd5.c:2286: warning: pointer targets in passing argument 2 of
> '__builtin_strcmp' differ in signedness
> digestmd5.c:2351: warning: pointer targets in passing argument 1 of
> '__builtin_strncpy' differ in signedness
> digestmd5.c:2369: warning: pointer targets in passing argument 2 of
> 'DigestCalcSecret' differ in signedness
> digestmd5.c:2369: warning: pointer targets in passing argument 3 of
> 'DigestCalcSecret' differ in signedness
> digestmd5.c:2514: warning: pointer targets in passing argument 2 of
> 'text->cipher_init' differ in signedness
> digestmd5.c:2514: warning: pointer targets in passing argument 3 of
> 'text->cipher_init' differ in signedness
> digestmd5.c:3010: warning: pointer targets in passing argument 3 of
> 'calculate_response' differ in signedness
>
> # tail cyrus-sasl.log
>
> digestmd5.c:3840: warning: unused parameter 'clientoutlen'
> digestmd5.c: In function 'digestmd5_client_mech_step':
> digestmd5.c:4000: warning: pointer targets in assignment differ in
> signedness
> digestmd5.c:4037:15: error: #elif with no expression
> make[2]: *** [digestmd5.lo] Error 1
> make[2]: Leaving directory
> `/usr/ports/opt/cyrus-sasl/work/src/cyrus-sasl-2.1.22/plugins'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/usr/ports/opt/cyrus-sasl/work/src/cyrus-sasl-2.1.22'
> make: *** [all] Error 2
> =======> ERROR: Building
> '/usr/ports/opt/cyrus-sasl/cyrus-sasl#2.1.22-2.pkg.tar.gz' failed.
>
> newishi
> --
> Remember, no question is too stupid and no problem too small
> * * * * * * -- We've all been beginners
> _______________________________________________
> CRUX mailing list
> CRUX@lists.crux.nu
> http://lists.crux.nu/mailman/listinfo/crux
_______________________________________________
CRUX mailing list
CRUX@lists.crux.nu
http://lists.crux.nu/mailman/listinfo/crux
 
Old 03-22-2009, 05:08 PM
Johannes Winkelmann
 
Default compile cyrus-sasl - error

Hi Milan,

On Fri, Mar 20, 2009 at 11:41:00 +0100, Milan Buska wrote:
> Hi.
> Please help.
>
> Compiling cyrus-sasl ports/opt
> prt-get depinst cyrus-sasl --log =>
>
> => less cyrus-sasl.log | grep warning =>
Could you post the full build log somewhere?


> # tail cyrus-sasl.log
>
> digestmd5.c:3840: warning: unused parameter 'clientoutlen'
> digestmd5.c: In function 'digestmd5_client_mech_step':
> digestmd5.c:4000: warning: pointer targets in assignment differ in
> signedness
> digestmd5.c:4037:15: error: #elif with no expression
This looks like something that is reported against gcc 4.4:
http://psykil.livejournal.com/331262.html

The issue and how to resolve it is described here:
http://www.cyrius.com/journal/gcc#gcc-4.4-preprocessor-errors

HTH, Johannes
--
Johannes Winkelmann mailto:jw@smts.ch
Zurich, Switzerland http://jw.smts.ch
_______________________________________________
CRUX mailing list
CRUX@lists.crux.nu
http://lists.crux.nu/mailman/listinfo/crux
 

Thread Tools




All times are GMT. The time now is 05:54 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org