[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: error compiling core/gui
From: |
Chris B . Vetter |
Subject: |
Re: error compiling core/gui |
Date: |
Thu, 25 Jul 2002 12:11:36 -0700 |
On Thu, 25 Jul 2002 11:09:47 -0700
Ted Stern <stern@cray.com> wrote:
> I'm compiling on sparc-sun-solaris2.8 using gcc-3.1 and get the following
> error in the Source directory under core/gui:
> Compiling file NSPrintInfo.m ...
> NSPrintInfo.m: In function `+[NSPrintInfo initPrintInfoDefaults]':
> NSPrintInfo.m:388: parse error before "path"
> make[2]: *** [shared_obj/sparc/solaris2.8/gnu-gnu-gnu/NSPrintInfo.o] Error
> 1 make[1]: *** [libgnustep-gui.all.library.variables] Error 2
> make[1]: Leaving directory
> `/home/users/stern/opt/src/gnustep/core/gui/Source' make: ***
> [internal-all] Error 2
> Any ideas?
#ifdef GNUSTEP_BASE_LIBRARY
path = [NSBundle pathForGNUstepResource: @"PrintDefaults"
ofType: nil
inDirectory: @"PrinterAdmin"];
#else
NSBundle *adminBundle;
adminBundle = [NSBundle bundleWithPath: @GNUSTEP_INSTALL_LIBDIR]
path = [adminBundle pathForResource: @"PrintDefaults"
ofType: nil
inDirectory: @"PrinterAdmin"];
#endif
Obviously, there's a semi-colon missing in 'adminBundle = [...]'
--
Chris