Uploaded image for project: 'WildFly OpenSSL'
  1. WildFly OpenSSL
  2. WFSSL-14

Errors building the project in libwfssl/src/ssl.c on i386

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.8.Final
    • None
    • None

      When building wildfly-openssl i386 native binaries on Fedora:

      gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom                           
      -fasynchronous-unwind-tables -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wpointer-arith -std=c89                            
      -Wdeclaration-after-statement -Wformat -Wformat-security -Wunused -Wno-unknown-pragmas -m32 -fPIC -c ../libwfssl/src/util.c -o target/util.o                   
      -I../libwfssl/include -I/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.221/include -I/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.221/include/linux                            
      cc1: warnings being treated as errors                                                                                                                          
      ../libwfssl/src/ssl.c: In function 'Java_org_wildfly_openssl_SSLImpl_setServerNameIndication0':                                                                
      ../libwfssl/src/ssl.c:868: error: passing argument 4 of 'ssl_methods.SSL_ctrl' discards qualifiers from pointer target type                                    
      ../libwfssl/src/ssl.c:868: note: expected 'void *' but argument is of type 'const char *'                                                                      
      make: *** [target/ssl.o] Error 1                                                                                                                               
      

              flaviarnn Flavia Rainone
              rhn-support-iweiss Ingo Weiss
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: