Subject: compiling problem
To: None <>
From: Nathan Langford <>
List: tech-pkg
Date: 07/01/2003 16:32:52

I'm attempting to compile "VisualBoy Advance" (a gameboy advance emulator)
on NetBSD, & it keeps complaining about an included header file "unzip.h".
Below is the attempted build with errors & a sample from "unzip.h".  Any
ideas what's wrong here?


c++ -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.5\" -DYYTEXT_POINTER=1
-DHAVE_NETINET_IN_H=1  -I. -I.   -I/usr/pkg/include -I/usr/X11R6/include
-O2 -I/usr/pkg/include -I/usr/X11R6/include -I/usr/pkg/include/SDL
-I/usr/pkg/include -DSDL -DPROFILING -DBKPT_SUPPORT -fno-exceptions -DMMX
In file included from ../System.h:22,
                 from GB.cpp:24:
../unzip.h:132: syntax error before `('
../unzip.h:145: syntax error before `('
../unzip.h:156: syntax error before `('
*** Error code 1

/* example from line 132 of unzip.h */
extern int ZEXPORT  unzStringFileNameCompare OF ((const char* fileName1,
                                                const char* fileName2,
                                                int iCaseSensitivity));