Ticket #1437 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

ICat project fails to compile on some Linux distributions

Reported by: Stuart Campbell Owned by: Sofia Antony
Priority: major Milestone: Iteration 24
Component: Keywords:
Cc: Blocked By:
Blocking: Tester: Stuart Campbell

Description

In the ICAT project, the file ICat/src/GSoap/stdsoap2.cpp fails to compile on certain newer linux distributions (the first one I noticed on was Fedora 13). The problem is a cast on line 4001:

X509V3_EXT_METHOD *meth = X509V3_EXT_get(ext);

It can be fixed by changing to

X509V3_EXT_METHOD *meth = (X509V3_EXT_METHOD*)X509V3_EXT_get(ext);

updating to the latest upstream version 2.7.17 also seems to fix it. The version we are using is 2.6.16.

As there are other bug fixes in the update it is probably better to keep with the release than edit it ourselves...

What do you think ? I can update the files, but I can't test too much as I don't have access to an ICAT.

Change History

comment:1 Changed 10 years ago by Stuart Campbell

  • Owner set to Nick Draper
  • Status changed from new to assigned

comment:2 Changed 10 years ago by Stuart Campbell

Also seems to break on Mac OS X 10.6 as well.

comment:3 Changed 10 years ago by Nick Draper

  • Owner changed from Nick Draper to Sofia Antony

comment:4 Changed 10 years ago by Sofia Antony

(In [5850]) re #1437 - fix for ICat project fails to compile on some Linux distributions.I've changed the line 4001 as suggested by Stuart Campbell.

comment:5 Changed 10 years ago by Sofia Antony

  • Status changed from assigned to accepted

comment:6 Changed 10 years ago by Sofia Antony

  • Status changed from accepted to verify

comment:7 Changed 10 years ago by Stuart Campbell

  • Status changed from verify to verifying
  • Tester set to Stuart Campbell

comment:8 Changed 10 years ago by Nick Draper

  • Resolution set to fixed

fill in missing resolution

comment:9 Changed 10 years ago by Stuart Campbell

  • Status changed from verifying to closed

Seems to compile ok.

comment:10 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 2284

Note: See TracTickets for help on using tickets.