[Logo]   

Looking for the Guilty

A blog.

 

 

RSS feed

GPG/PGP pubkeys

 

[Blosxom]

[Almost XHTML]

Datensammler sind Verbrecher

Politiker-Stopp - Diese Seite ist geschützt vor Internet-Ausdruckern.

lupo's last comments:
1 2 3 4 5
florin's last comments:
1 2 3 4 5

GDL (GNU Data Language) patch for Debian Lenny

author: www-data

The current version of GDL doesn't compile on Debian Lenny. It bails out with:

...
hdf_fun.cpp: In function 'BaseGDL* lib::hdf_sd_dimgetid_fun(EnvT*)':
hdf_fun.cpp:398: error: invalid conversion from 'DLong*' to 'int32*'
hdf_fun.cpp:398: error:   initializing argument 3 of 'intn SDgetinfo(int32,
char*, int32*, int32*, int32*, int32*)'
make[3]: *** [gdl-hdf_fun.o] Error 1

Apparently it's because of a missing cast or something. Here's a fix. I thought I'd share it, because I looked all over the web for a fix, but google only spit out one link, which was basically leading to a Debian package building fail-log. Enjoy! (Of course, I couldn't be bothered to try and find out the sizes of DLong and int32, so my fix is maybe a little clumsy, but has the best chances of working even if there's a difference between the two ;-)

2009-06-26 14:58 | www-data.blog20090626@rootshell.ro | [/tech-sci/comp] | permanent link


Older entries

« | 2012 | Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec | »
« | February | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | »