Hylafax Mailing List Archives

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

Can't compile on Sun




Hello.

I can not get the hylafax code to 'make' on my Sun SPARC.

It seems to configure OK.  I run ./configure from a clean setup
(and I have tried using the gcc patch too) and I accept all the
defaults except that I change the paper size to A4 (the normal
paper size in Australia).

When I type 'make' all seems OK until I get the lines:


---- start of output from make --------------------------------------------
/util -l/usr/local/include -I.././regex -g -O -x c++ -c Dispatcher.c++
Dispatcher.c++: In method `int Dispatcher::waitFor(class FdMask &, class FdMask
&, class FdMask &, struct timeval *)':
Dispatcher.c++:601: assignment to `void (*)()' from `void (*)(int)'
*** Error code 1
make: Fatal error: Command failed for target `Dispatcher.o'
Current working directory /usr/local/hylafax/hylafax-v4.0pl2/util
*** Error code 1
make: Fatal error: Command failed for target `default'
Current working directory /usr/local/hylafax/hylafax-v4.0pl2/util
*** Error code 1
make: Fatal error: Command failed for target `dirs'
Current working directory /usr/local/hylafax/hylafax-v4.0pl2
*** Error code 1
make: Fatal error: Command failed for target `default'
---- end of output from make ----------------------------------------------

The make process stops at this point.

I looked in the config.log file and found the following errors
(just the first instances):


---- start of output from config.log --------------------------------------

+ make -f confMakefile 
make: Fatal error in reader: confMakefile, line 2: Unexpected end of line seen
+ cat dummy.C 
#include "new.h"


... and  later ...


+ make -f confMakefile t 
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -O t.c -limage
collect2: ld returned 4 exit status
ld: -limage: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `t'

---- end of output from config.log ----------------------------------------


My setup is:

Hylafax version:        4.0 pl 2  (tried both with & without gcc-2.8.x.patch)
SunOS:                  4.1.4
Sun Hardware:           SPARC 4 IPX
gcc compiler version:   2.8.1
libstd++ version:       2.8.1.1
libg++ version:         2.8.1.1a
Modem:                  Banksia Wave SP 336 (not yet connected up)


Originally I tried to install it using gcc version 2.7.3.  I got the
same errors as above, so I tried upgrading my gcc, listd++ and libg++
versions in case this helped.  It didn't.

I copied the libg++ bits into the libstd++ directory before doing the
configure and make of libstd++ (as per the instructions in the libstd++
INSTALL file).  I beleive that this should have installed the libg++
bits too.

What am I doing wrong?  I just can't figure it out.

Any help would be most appreciated!

Thanks in advance.

John Simmons.
Genesis Networks.
jss@genesis.net.au



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