Menu

Problem with compile on Linux Slack7

Help
John Lange
2000-05-24
2000-05-24
  • John Lange

    John Lange - 2000-05-24

    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?

     
    • Joao Luís Marques Pinto

      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.
         

       

Log in to post a comment.

MongoDB Logo MongoDB