#2 Compilation problem

closed
nobody
None
5
2003-04-03
2003-02-23
No

XQF didn't compile on my system:
linux 2.4.20, glibc 2.2.5, gcc 3.2.1, glib and gtk
1.2.10, zlib 1.1.4.

Summary of the error, happening with src/q3maps.c (many
similar lines stripped):
In file included from q3maps.c:32:
zip/unzip.h:120: parse error before
"unzStringFileNameCompare"
zip/unzip.h:122: warning: type defaults to `int' in
declaration of `unzStringFileNameCompare'
zip/unzip.h:122: warning: data definition has no type
or storage class
<snip, and then warnings:>
q3maps.c: In function `findq3maps_zip':
q3maps.c:43: warning: assignment makes pointer from
integer without a cast
/usr/include/glib-1.2/glib.h: At top level:
q3maps.c:195: warning: `q3_print_maps' defined but not used

I found that ZEXPORT was not defined after zlib.h and
zconf.h, so I defined it myself to be ignored:
#ifndef ZEXPORT
#define ZEXPORT
#endif

Then I got xqf to compile, and run.
A new opportunity for me to convince my geek gamer
friends to boot linux more often ;)

Discussion

  • Pierre Pronchery

    Associated patch

     
    Attachments
  • Ludwig Nussel

    Ludwig Nussel - 2003-03-10

    Logged In: YES
    user_id=333900

    applied, thanks.

     
  • Alex Burger

    Alex Burger - 2003-04-03
    • status: open --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks