After the "./configure" and editing ./src/netcfg.h and ./src/config.h, I tried to "make" the server which resuled in the following error:
------
gcc -I../include -O2 -g -Wall -c channel.c -o channel.o
channel.c: In function `can_join':
channel.c:2112: warning: implicit declaration of function 'If'
channel.c:2112: parse error before `return'
make[1]: *** [channel.o] Error 1
make[1]: Leaving directory '/home/wangster/PTlink5.1.0/src'
make: *** [build] Error 2
------
Is there anything I can do? Or is this a mistake in the code? Perhaps I'm using the wrong compiler options?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
It was my mistake since i dint tested the CANALWAYSJOIN code,
just edit file src/channel.c and on line 2112 from channel.c
replace the If (uppercase I) with if (lowercase i).
This fix will be added on next version.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
System: Linux Slackware 7.0, Kernel 2.2.13.
After the "./configure" and editing ./src/netcfg.h and ./src/config.h, I tried to "make" the server which resuled in the following error:
------
gcc -I../include -O2 -g -Wall -c channel.c -o channel.o
channel.c: In function `can_join':
channel.c:2112: warning: implicit declaration of function 'If'
channel.c:2112: parse error before `return'
make[1]: *** [channel.o] Error 1
make[1]: Leaving directory '/home/wangster/PTlink5.1.0/src'
make: *** [build] Error 2
------
Is there anything I can do? Or is this a mistake in the code? Perhaps I'm using the wrong compiler options?
Hi,
It was my mistake since i dint tested the CANALWAYSJOIN code,
just edit file src/channel.c and on line 2112 from channel.c
replace the If (uppercase I) with if (lowercase i).
This fix will be added on next version.