We are in the process of migrating this forum. A new space will be available soon. We are sorry for the inconvenience.

Modul SSL...


MX^Lucas
02-09-2005, 15:16
Witam ponownie...

Powrocilem jeszcze raz do instalacji httpd 2.1.6, no i znow mam inny blad:

Kod:
apxs -c mod_ssl.c
/home/sbin/local/httpd-2.1.6/build/libtool --silent --mode=compile gcc -prefer-pic   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 -pthread -I/home/sbin/local/httpd-2.1.6/include  -I/home/sbin/local/httpd-2.1.6/include   -I/home/sbin/local/httpd-2.1.6/include   -c -o mod_ssl.lo mod_ssl.c && touch mod_ssl.slo
In file included from ssl_private.h:54,
                 from mod_ssl.c:27:
ssl_toolkit_compat.h:218:2: #error "Unrecognized SSL Toolkit!"
In file included from ssl_private.h:56,
                 from mod_ssl.c:27:
ssl_util_ssl.h:58: error: syntax error before '*' token
ssl_util_ssl.h:59: error: syntax error before '*' token
ssl_util_ssl.h:60: error: syntax error before '*' token
ssl_util_ssl.h:60: error: syntax error before "X509"
ssl_util_ssl.h:60: warning: data definition has no type or storage class
ssl_util_ssl.h:61: error: syntax error before '*' token
ssl_util_ssl.h:61: error: syntax error before "EVP_PKEY"
ssl_util_ssl.h:61: warning: data definition has no type or storage class
ssl_util_ssl.h:62: error: syntax error before '*' token
ssl_util_ssl.h:63: error: syntax error before '*' token
ssl_util_ssl.h:63: warning: data definition has no type or storage class
ssl_util_ssl.h:64: error: syntax error before '*' token
ssl_util_ssl.h:65: error: syntax error before "SSL"
ssl_util_ssl.h:66: error: syntax error before '*' token
ssl_util_ssl.h:67: error: syntax error before '*' token
ssl_util_ssl.h:68: error: syntax error before "X509"
ssl_util_ssl.h:69: error: syntax error before "STACK_OF"
ssl_util_ssl.h:70: error: syntax error before "STACK_OF"
ssl_util_ssl.h:71: error: syntax error before '*' token
ssl_util_ssl.h:75: error: syntax error before '*' token
ssl_util_ssl.h:77: error: syntax error before '*' token
ssl_util_ssl.h:78: warning: data definition has no type or storage class
In file included from mod_ssl.c:27:
ssl_private.h:334: error: syntax error before "SSL"
ssl_private.h:334: warning: no semicolon at end of struct or union
ssl_private.h:336: error: syntax error before '*' token
ssl_private.h:336: warning: data definition has no type or storage class
ssl_private.h:344: error: syntax error before '}' token
ssl_private.h:344: warning: data definition has no type or storage class
ssl_private.h:381: error: syntax error before "X509"
ssl_private.h:381: warning: no semicolon at end of struct or union
ssl_private.h:382: warning: data definition has no type or storage class
ssl_private.h:388: error: syntax error before '}' token
ssl_private.h:388: warning: data definition has no type or storage class
ssl_private.h:394: error: syntax error before "STACK_OF"
ssl_private.h:394: warning: no semicolon at end of struct or union
ssl_private.h:395: warning: data definition has no type or storage class
ssl_private.h:414: error: syntax error before "SSL_CTX"
ssl_private.h:414: warning: no semicolon at end of struct or union
ssl_private.h:417: warning: data definition has no type or storage class
ssl_private.h:418: error: syntax error before '*' token
ssl_private.h:418: warning: data definition has no type or storage class
ssl_private.h:431: error: syntax error before '*' token
ssl_private.h:431: warning: data definition has no type or storage class
ssl_private.h:434: error: syntax error before '}' token
ssl_private.h:434: warning: data definition has no type or storage class
ssl_private.h:444: error: syntax error before "modssl_ctx_t"
ssl_private.h:444: warning: no semicolon at end of struct or union
ssl_private.h:445: warning: data definition has no type or storage class
ssl_private.h:446: error: syntax error before '}' token
ssl_private.h:529: error: syntax error before '*' token
ssl_private.h:529: warning: data definition has no type or storage class
ssl_private.h:543: error: syntax error before '*' token
ssl_private.h:543: error: syntax error before '*' token
ssl_private.h:543: warning: data definition has no type or storage class
ssl_private.h:544: error: syntax error before '*' token
ssl_private.h:544: error: syntax error before '*' token
ssl_private.h:544: warning: data definition has no type or storage class
ssl_private.h:545: error: syntax error before "X509_STORE_CTX"
ssl_private.h:546: error: syntax error before "X509_STORE_CTX"
ssl_private.h:547: error: syntax error before '*' token
ssl_private.h:548: error: syntax error before '*' token
ssl_private.h:549: error: syntax error before '*' token
ssl_private.h:549: error: syntax error before '*' token
ssl_private.h:549: warning: data definition has no type or storage class
ssl_private.h:550: error: syntax error before '*' token
ssl_private.h:551: error: syntax error before "int"
ssl_private.h:557: error: syntax error before "SSL_SESSION"
ssl_private.h:558: error: syntax error before '*' token
ssl_private.h:558: warning: data definition has no type or storage class
ssl_private.h:564: error: syntax error before "SSL_SESSION"
ssl_private.h:565: error: syntax error before '*' token
ssl_private.h:565: warning: data definition has no type or storage class
ssl_private.h:571: error: syntax error before "SSL_SESSION"
ssl_private.h:572: error: syntax error before '*' token
ssl_private.h:572: warning: data definition has no type or storage class
ssl_private.h:578: error: syntax error before "SSL_SESSION"
ssl_private.h:579: error: syntax error before '*' token
ssl_private.h:579: warning: data definition has no type or storage class
ssl_private.h:588: error: syntax error before "SSL"
ssl_private.h:590: error: syntax error before '*' token
ssl_private.h:603: error: syntax error before '*' token
ssl_private.h:612: error: syntax error before '*' token
ssl_private.h:612: warning: data definition has no type or storage class
ssl_private.h:613: error: syntax error before '*' token
ssl_private.h:613: warning: data definition has no type or storage class
mod_ssl.c:286: error: syntax error before '*' token
mod_ssl.c: In function `ssl_init_connection_ctx':
mod_ssl.c:288: error: `sslconn' undeclared (first use in this function)
mod_ssl.c:288: error: (Each undeclared identifier is reported only once
mod_ssl.c:288: error: for each function it appears in.)
mod_ssl.c:288: error: syntax error before ')' token
mod_ssl.c: In function `ssl_proxy_enable':
mod_ssl.c:305: error: `sslconn' undeclared (first use in this function)
mod_ssl.c:307: error: dereferencing pointer to incomplete type
mod_ssl.c:310: error: dereferencing pointer to incomplete type
mod_ssl.c: In function `ssl_engine_disable':
mod_ssl.c:325: error: `sslconn' undeclared (first use in this function)
mod_ssl.c:327: error: dereferencing pointer to incomplete type
mod_ssl.c: In function `ssl_init_ssl_connection':
mod_ssl.c:341: error: `SSL' undeclared (first use in this function)
mod_ssl.c:341: error: `ssl' undeclared (first use in this function)
mod_ssl.c:342: error: `sslconn' undeclared (first use in this function)
mod_ssl.c:342: error: syntax error before ')' token
mod_ssl.c:344: error: `mctx' undeclared (first use in this function)
mod_ssl.c:355: error: dereferencing pointer to incomplete type
mod_ssl.c:355: error: dereferencing pointer to incomplete type
mod_ssl.c:373: error: dereferencing pointer to incomplete type
mod_ssl.c:374: error: dereferencing pointer to incomplete type
mod_ssl.c:399: error: `X509_V_OK' undeclared (first use in this function)
mod_ssl.c: In function `ssl_hook_http_scheme':
mod_ssl.c:410: error: dereferencing pointer to incomplete type
mod_ssl.c:410: error: dereferencing pointer to incomplete type
mod_ssl.c: In function `ssl_hook_default_port':
mod_ssl.c:421: error: dereferencing pointer to incomplete type
mod_ssl.c:421: error: dereferencing pointer to incomplete type
mod_ssl.c: In function `ssl_hook_pre_connection':
mod_ssl.c:431: error: `sslconn' undeclared (first use in this function)
mod_ssl.c:431: error: syntax error before ')' token
mod_ssl.c:436: error: dereferencing pointer to incomplete type
mod_ssl.c:460: error: dereferencing pointer to incomplete type
mod_ssl.c: In function `ssl_hook_Insert_Filter':
mod_ssl.c:470: error: dereferencing pointer to incomplete type
apxs:Error: Command failed with rc=65536
CO do sciezki OpenSSL, to ok, jest w systemie, ale co chwila jakies dziwne bledy wyskakuja przez mod_ssl. Teraz co moze byc?

Pozdrawiam serdecznie
MX^Lucas

Łabędź
28-08-2005, 15:43
Cytat Napisał MX^Lucas

Kod:
 apxs -c mod_ssl.c
/home/sbin/local/httpd-2.0.54/build/libtool --silent --mode=compile gcc -prefer-pic  -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -g -O2 -pthread -I/home/sbin/local/httpd-2.0.54/include  -I/home/sbin/local/httpd-2.0.54/include   -I/home/sbin/local/httpd-2.0.54/include   -c -o mod_ssl.lo mod_ssl.c && touch mod_ssl.slo
In file included from mod_ssl.c:27:
mod_ssl.h:92:17: ssl.h: No such file or directory
mod_ssl.h:94:18: x509.h: No such file or directory
mod_ssl.h:95:17: pem.h: No such file or directory
mod_ssl.h:96:20: crypto.h: No such file or directory
mod_ssl.h:97:17: evp.h: No such file or directory
mod_ssl.h:98:18: rand.h: No such file or directory
Wygląda na to, że nie znajduje plików nagłówkowych openssl. Podejrzewam, że wystarczy dołączyć do opcji kompilacji

Kod:
 -I/usr/include/openssl
Oczywiście, ze ścieżką dostępu do openssl taką jaką ma Pan w systemie.

pozdrawiam

MX^Lucas
28-08-2005, 10:02
Witam ponownie...

Ilekroc probuje skompilowac modul mod_ssl.c od wersji 2.0.54 do 2.1.6 httpd, to zawsze wyswietla sie ten sam blad, o co chodzi? :

Kod:
 apxs -c mod_ssl.c
/home/sbin/local/httpd-2.0.54/build/libtool --silent --mode=compile gcc -prefer-pic  -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -g -O2 -pthread -I/home/sbin/local/httpd-2.0.54/include  -I/home/sbin/local/httpd-2.0.54/include   -I/home/sbin/local/httpd-2.0.54/include   -c -o mod_ssl.lo mod_ssl.c && touch mod_ssl.slo
In file included from mod_ssl.c:27:
mod_ssl.h:92:17: ssl.h: No such file or directory
mod_ssl.h:94:18: x509.h: No such file or directory
mod_ssl.h:95:17: pem.h: No such file or directory
mod_ssl.h:96:20: crypto.h: No such file or directory
mod_ssl.h:97:17: evp.h: No such file or directory
mod_ssl.h:98:18: rand.h: No such file or directory
In file included from mod_ssl.h:110,
                 from mod_ssl.c:27:
ssl_toolkit_compat.h:197:2: #error "Unrecognized SSL Toolkit!"
In file included from mod_ssl.h:112,
                 from mod_ssl.c:27:
ssl_util_ssl.h:58: error: syntax error before '*' token
ssl_util_ssl.h:59: error: syntax error before '*' token
ssl_util_ssl.h:60: error: syntax error before '*' token
ssl_util_ssl.h:60: error: syntax error before "X509"
ssl_util_ssl.h:60: warning: data definition has no type or storage class
ssl_util_ssl.h:61: error: syntax error before '*' token
ssl_util_ssl.h:61: error: syntax error before "EVP_PKEY"
ssl_util_ssl.h:61: warning: data definition has no type or storage class
ssl_util_ssl.h:62: error: syntax error before '*' token
ssl_util_ssl.h:63: error: syntax error before '*' token
ssl_util_ssl.h:63: warning: data definition has no type or storage class
ssl_util_ssl.h:64: error: syntax error before '*' token
ssl_util_ssl.h:65: error: syntax error before "SSL"
ssl_util_ssl.h:66: error: syntax error before '*' token
ssl_util_ssl.h:67: error: syntax error before '*' token
ssl_util_ssl.h:68: error: syntax error before "X509"
ssl_util_ssl.h:69: error: syntax error before "STACK_OF"
ssl_util_ssl.h:70: error: syntax error before "STACK_OF"
ssl_util_ssl.h:71: error: syntax error before '*' token
ssl_util_ssl.h:75: error: syntax error before '*' token
ssl_util_ssl.h:77: error: syntax error before '*' token
ssl_util_ssl.h:78: warning: data definition has no type or storage class
In file included from mod_ssl.c:27:
mod_ssl.h:382: error: syntax error before "SSL"
mod_ssl.h:382: warning: no semicolon at end of struct or union
mod_ssl.h:384: error: syntax error before '*' token
mod_ssl.h:384: warning: data definition has no type or storage class
mod_ssl.h:392: error: syntax error before '}' token
mod_ssl.h:392: warning: data definition has no type or storage class
mod_ssl.h:429: error: syntax error before "X509"
mod_ssl.h:429: warning: no semicolon at end of struct or union
mod_ssl.h:430: warning: data definition has no type or storage class
mod_ssl.h:431: error: syntax error before '}' token
mod_ssl.h:431: warning: data definition has no type or storage class
mod_ssl.h:437: error: syntax error before "STACK_OF"
mod_ssl.h:437: warning: no semicolon at end of struct or union
mod_ssl.h:438: warning: data definition has no type or storage class
mod_ssl.h:457: error: syntax error before "SSL_CTX"
mod_ssl.h:457: warning: no semicolon at end of struct or union
mod_ssl.h:460: warning: data definition has no type or storage class
mod_ssl.h:461: error: syntax error before '*' token
mod_ssl.h:461: warning: data definition has no type or storage class
mod_ssl.h:474: error: syntax error before '*' token
mod_ssl.h:474: warning: data definition has no type or storage class
mod_ssl.h:477: error: syntax error before '}' token
mod_ssl.h:477: warning: data definition has no type or storage class
mod_ssl.h:486: error: syntax error before "modssl_ctx_t"
mod_ssl.h:486: warning: no semicolon at end of struct or union
mod_ssl.h:487: warning: data definition has no type or storage class
mod_ssl.h:488: error: syntax error before '}' token
mod_ssl.h:568: error: syntax error before '*' token
mod_ssl.h:568: warning: data definition has no type or storage class
mod_ssl.h:581: error: syntax error before '*' token
mod_ssl.h:581: error: syntax error before '*' token
mod_ssl.h:581: warning: data definition has no type or storage class
mod_ssl.h:582: error: syntax error before '*' token
mod_ssl.h:582: error: syntax error before '*' token
mod_ssl.h:582: warning: data definition has no type or storage class
mod_ssl.h:583: error: syntax error before "X509_STORE_CTX"
mod_ssl.h:584: error: syntax error before "X509_STORE_CTX"
mod_ssl.h:585: error: syntax error before '*' token
mod_ssl.h:586: error: syntax error before '*' token
mod_ssl.h:587: error: syntax error before '*' token
mod_ssl.h:587: error: syntax error before '*' token
mod_ssl.h:587: warning: data definition has no type or storage class
mod_ssl.h:588: error: syntax error before '*' token
mod_ssl.h:589: error: syntax error before "int"
mod_ssl.h:597: error: syntax error before "SSL_SESSION"
mod_ssl.h:598: error: syntax error before '*' token
mod_ssl.h:598: warning: data definition has no type or storage class
mod_ssl.h:605: error: syntax error before "SSL_SESSION"
mod_ssl.h:606: error: syntax error before '*' token
mod_ssl.h:606: warning: data definition has no type or storage class
mod_ssl.h:613: error: syntax error before "SSL_SESSION"
mod_ssl.h:614: error: syntax error before '*' token
mod_ssl.h:614: warning: data definition has no type or storage class
mod_ssl.h:621: error: syntax error before "SSL_SESSION"
mod_ssl.h:622: error: syntax error before '*' token
mod_ssl.h:622: warning: data definition has no type or storage class
mod_ssl.h:631: error: syntax error before '*' token
mod_ssl.h:631: warning: data definition has no type or storage class
mod_ssl.h:632: error: syntax error before '*' token
mod_ssl.h:632: warning: data definition has no type or storage class
mod_ssl.h:682: error: syntax error before "SSL"
mod_ssl.h:684: error: syntax error before '*' token
mod_ssl.h:700: error: syntax error before '*' token
mod_ssl.c:220: error: syntax error before '*' token
mod_ssl.c: In function `ssl_init_connection_ctx':
mod_ssl.c:222: error: `sslconn' undeclared (first use in this function)
mod_ssl.c:222: error: (Each undeclared identifier is reported only once
mod_ssl.c:222: error: for each function it appears in.)
mod_ssl.c:222: error: syntax error before ')' token
mod_ssl.c: In function `ssl_proxy_enable':
mod_ssl.c:239: error: `sslconn' undeclared (first use in this function)
mod_ssl.c:241: error: dereferencing pointer to incomplete type
mod_ssl.c:244: error: dereferencing pointer to incomplete type
mod_ssl.c: In function `ssl_engine_disable':
mod_ssl.c:259: error: `sslconn' undeclared (first use in this function)
mod_ssl.c:261: error: dereferencing pointer to incomplete type
mod_ssl.c: In function `ssl_hook_pre_connection':
mod_ssl.c:275: error: `SSL' undeclared (first use in this function)
mod_ssl.c:275: error: `ssl' undeclared (first use in this function)
mod_ssl.c:276: error: `sslconn' undeclared (first use in this function)
mod_ssl.c:276: error: syntax error before ')' token
mod_ssl.c:278: error: `mctx' undeclared (first use in this function)
mod_ssl.c:283: error: dereferencing pointer to incomplete type
mod_ssl.c:307: error: dereferencing pointer to incomplete type
mod_ssl.c:315: error: dereferencing pointer to incomplete type
mod_ssl.c:315: error: dereferencing pointer to incomplete type
mod_ssl.c:333: error: dereferencing pointer to incomplete type
mod_ssl.c:334: error: dereferencing pointer to incomplete type
mod_ssl.c:359: error: `X509_V_OK' undeclared (first use in this function)
mod_ssl.c: In function `ssl_hook_http_method':
mod_ssl.c:370: error: dereferencing pointer to incomplete type
mod_ssl.c: In function `ssl_hook_default_port':
mod_ssl.c:381: error: dereferencing pointer to incomplete type
apxs:Error: Command failed with rc=65536
Panie Labedz, moze Pan sie orientuje? Pozostal mi tylko ten modul i jakos nie chce mi isc dalej :-/

Pozdrawiam serdecznie
MX^Lucas