Ticket #11 (closed defect: worksforme)
gcc4 build failure
| Reported by: | ville.skytta@… | Owned by: | devel |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | opensc | Version: | 0.9.5 |
| Severity: | normal | Keywords: | |
| Cc: | Blocked By: | ||
| Blocking: |
Description
Building OpenSC 0.9.6 with GCC4 fails with an invalid lvalue error. Possible fix attached, at least it allows the compilation to finish successfully.
By the way, 0.9.6 is missing from Trac's "version" drop-down box.
Attachments
Change History
Changed 7 years ago by ville.skytta@…
-
attachment
opensc-lvalue.patch
added
comment:1 Changed 7 years ago by anonymous
AFAIK this has been fixed in trunk. If not - doesn't matter. Whoever uses gcc4 can also use the snapshot to compile whatever needed (IIRC gcc4 was released a few days ago..)
comment:2 Changed 7 years ago by ville.skytta@…
- Status changed from new to closed
- Resolution set to worksforme
Oh, well. You're right, and I don't know what I was thinking here. Like the headers in the patch say, I seem to actually have extracted it from trunk. Why I submitted it here totally beats me.
gcc4 will be the default compiler of a few soon coming distros, so you may get reports of this error a few times unless there's a release out that has it fixed...
comment:3 Changed 7 years ago by martin
I hope we can get a RC out this summer that would be already based on trunk ?:)
As this given issue is in the pam area of opensc, you might want to take a look at pam_pkcs11. It would not hurt in longer run to split up opensc to two different packages - opensc and opensc-extras. Opensc would contain the core of opensc - access enablers such as pkcs11 module and openssl engines and initialization utilities and other utilities while opensc-extras would bundle everything else such as pam module(s), signers, application enablers (openssh etc) and so on.

Uglyish build fix for gcc4