Hi,

I am fairly new to linux and your help would be much appreciated.

I am trying to install diald - version 0.99.3 on RedHat 6.2 (kernel 2.2.13).

I have put all the source files into a temporary directory and entered
'make'. The make utility gives an error ( sorry I cannot remember it, I am
not near my machine at the moment). This can be resolved by editing the
makefile and joining long lines together. eg

OBJFILES=diald.o options.o modem.o filter.o slip.o lock.o ppp.o dev.o \
        proxyarp.o fsm.o timer.o parse.o buffer.o \
        route.o bufio.o utils.o firewall.o log.o access.o \
        proxy.o proxy_tap.o proxy_slip.o proxy_dev.o shell.o

Change to (removing the \ and join lines)

OBJFILES=diald.o options.o modem.o filter.o slip.o lock.o ppp.o dev.o
proxyarp.o fsm.o timer.o parse.o buffer.o route.o bufio.o utils.o firewall.o
log.o access.o proxy.o proxy_tap.o proxy_slip.o proxy_dev.o shell.o

After this the Makefile will start the build - but with errors usually
around a bit of code like this

#define SIGNAL(s, handler)      { \
        sa.sa_handler = handler; \
        if (sigaction(s, &sa, NULL) < 0) { \
            mon_syslog(LOG_ERR, "sigaction(%d): %m", s); \
            die(1); \
        } \
    }

I can get this to compile by removing the \ and joining the lines as above
:-

#define SIGNAL(s, handler)      {sa.sa_handler = handler;if (sigaction(s,
&sa, NULL) < 0) { mon_syslog(LOG_ERR, "sigaction(%d): %m", s);   die(1); } }



Again this is the same problem - the system does not like the \ to join long
lines.

Is there something fundamentaly wrong with what I am doing.

Thanks in acvance

Michael Morgan

[EMAIL PROTECTED]
[EMAIL PROTECTED]


-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to