Modify

#110 closed defect (fixed)

Openssl does not compile anymore

Reported by: frank@… Owned by:
Priority: normal Milestone:
Component: BitlBee Version: devel
Keywords: Cc:
IRC client+version: Client-independent Operating System: Public server
OS version/distro: kind of Slackware Linux 10.2

Description

after bitlbee-20060213.diff daily snapshots don't compile anymore using openssl

  • Compiling ssl_openssl.c

ssl_openssl.c:43: error: expected specifier-qualifier-list before 'SslInputFunction' ssl_openssl.c:56: error: expected declaration specifiers or '...' before 'SslInputFunction' ssl_openssl.c:57: error: conflicting types for 'ssl_connect' ssl_client.h:37: error: previous declaration of 'ssl_connect' was here ssl_openssl.c: In function 'ssl_connect': ssl_openssl.c:61: error: 'struct scd' has no member named 'fd' ssl_openssl.c:62: error: 'struct scd' has no member named 'func' ssl_openssl.c:62: error: 'func' undeclared (first use in this function) ssl_openssl.c:62: error: (Each undeclared identifier is reported only once ssl_openssl.c:62: error: for each function it appears in.) ssl_openssl.c:63: error: 'struct scd' has no member named 'data' ssl_openssl.c:65: error: 'struct scd' has no member named 'fd' ssl_openssl.c:78: error: 'struct scd' has no member named 'ssl_ctx' ssl_openssl.c:79: error: 'struct scd' has no member named 'ssl_ctx' ssl_openssl.c:81: error: 'struct scd' has no member named 'fd' ssl_openssl.c:85: error: 'struct scd' has no member named 'ssl' ssl_openssl.c:85: error: 'struct scd' has no member named 'ssl_ctx' ssl_openssl.c:86: error: 'struct scd' has no member named 'ssl' ssl_openssl.c:88: error: 'struct scd' has no member named 'fd' ssl_openssl.c: In function 'ssl_connected': ssl_openssl.c:102: error: 'struct scd' has no member named 'ssl' ssl_openssl.c:102: error: 'struct scd' has no member named 'fd' ssl_openssl.c:104: error: 'struct scd' has no member named 'ssl' ssl_openssl.c:107: error: 'struct scd' has no member named 'established' ssl_openssl.c:108: error: 'struct scd' has no member named 'func' ssl_openssl.c:108: error: 'struct scd' has no member named 'data' ssl_openssl.c:112: error: 'struct scd' has no member named 'func' ssl_openssl.c:112: error: 'struct scd' has no member named 'data' ssl_openssl.c:114: error: 'struct scd' has no member named 'ssl' ssl_openssl.c:116: error: 'struct scd' has no member named 'ssl' ssl_openssl.c:117: error: 'struct scd' has no member named 'ssl' ssl_openssl.c:119: error: 'struct scd' has no member named 'ssl_ctx' ssl_openssl.c:121: error: 'struct scd' has no member named 'ssl_ctx' ssl_openssl.c: In function 'ssl_read': ssl_openssl.c:129: error: 'struct scd' has no member named 'established' ssl_openssl.c:132: error: 'struct scd' has no member named 'ssl' ssl_openssl.c: In function 'ssl_write': ssl_openssl.c:137: error: 'struct scd' has no member named 'established' ssl_openssl.c:140: error: 'struct scd' has no member named 'ssl' ssl_openssl.c: In function 'ssl_disconnect': ssl_openssl.c:147: error: 'struct scd' has no member named 'established' ssl_openssl.c:148: error: 'struct scd' has no member named 'ssl' ssl_openssl.c:150: error: 'struct scd' has no member named 'fd' ssl_openssl.c:152: error: 'struct scd' has no member named 'ssl' ssl_openssl.c:153: error: 'struct scd' has no member named 'ssl_ctx' ssl_openssl.c: In function 'ssl_getfd': ssl_openssl.c:159: error: 'struct scd' has no member named 'fd' ssl_openssl.c:160: warning: control reaches end of non-void function make[1]: * [ssl_openssl.o] Error 1 make[1]: Leaving directory `/home/fthieme/workspace/bitlbee-new/protocols' make: * [protocols] Error 2

openssl 0.9.7

after changing back SslInputFunction to ssl_input_function in ssl_openssl.c it compiles but fails to link:

  • Linking bitlbee

protocols/protocols.o(.text+0x140): In function `http_connected': : undefined reference to `ssl_getdirection' protocols/protocols.o(.text+0x2c2): In function `http_incoming_data': : undefined reference to `ssl_getdirection' collect2: ld returned 1 exit status make: * [bitlbee] Error 1

Attachments (0)

Change History (1)

comment:1 Changed at 2006-03-05T22:37:26Z by wilmer

Resolution: fixed
Status: newclosed

Breakage reverted. :-)

Modify Ticket

Action
as closed The ticket will remain with no owner.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.