Hylafax Developers Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

[hylafax-devel] Problem w. compiling latest CVS on AIX



Hi,

I at one time provided the HylaFAX binary for AIX, and helped Sam out (
ages ago ) with the FlexFAX ( aka HylaFAX ) port to AIX.

We use HylaFAX inhouse in a rather extensive manner ( 14 bi-directional
fax modems ) as well as being the Calgary TPC Cell, and I figured I'd
get my act together now that the Y2K non-event is over with ( not
without sweat though <g> ) and try to contribute back.

I checked out the latest CVS, installed gcc 2.95.2, and proceeded to try
to get the sucker to compile...

Alas, no success, and I don't even know how to start debugging this
one.  I captured the pre-processor output, but it is SO huge, and there
are lines  > 2048 chars long!! ( yes, I use vi ).

I tried plunking in the stock Array.h to no avail, so I figured I'd go
out to this list for clues....

I have compiled & installed emacs with the compiler, so I am pretty
confidant it's not a compler problem, after all, if I can compile an
entire operating system, poor old HylaFAX shouldn't be a problem <wink>

Anyway, here's the top part of the output from trying to compile
util/BoolArray.c++ ( there's more, but why bother at this stage me
thinks!!

In file included from BoolArray.c++:26:
BoolArray.h:31: syntax error before `{'
BoolArray.h:31: parse error before `public'
BoolArray.h:31: parse error before `&'
BoolArray.h: In function `class fxBoolArray Ptr(...)':
BoolArray.h:31: `other' undeclared (first use this function)
BoolArray.h:31: (Each undeclared identifier is reported only once
BoolArray.h:31: for each function it appears in.)
BoolArray.h: At top level:
BoolArray.h:31: destructors must be member functions
BoolArray.h:31: syntax error before `('
BoolArray.h:31: syntax error before `&'
BoolArray.h:31: ANSI C++ forbids declaration `p' with no type
BoolArray.h:31: conflicting types for `int p'
BoolArray.h:31: previous declaration as `class fxBoolArray * p'
BoolArray.h:31: parse error before `}'
BoolArray.h:31: syntax error before `&'
BoolArray.h:31: ANSI C++ forbids declaration `p' with no type
BoolArray.h:31: redefinition of `int p'
BoolArray.h:31: `int p' previously defined here
BoolArray.h:31: `tp' was not declared in this scope
BoolArray.h:31: `tp' was not declared in this scope
BoolArray.h:31: `tp' was not declared in this scope
BoolArray.h:31: parse error before `}'

Any ideas off the top of your head before I plunge in and bruise my
forehead?


--
	Steve Williams, Calgary, Alberta, Canada
	Genie Computer Systems Inc.
	steve@genie96.com

"A man doesn't begin to attain wisdom until he recognizes that he is
 no longer indispensable."
- Admiral Richard E. Byrd ( 1888-1957 )



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services