#1 stray line break

open
nobody
None
5
2003-10-29
2003-10-29
Anonymous
No

line 1585 in portsentry.c has a stray linebreak in it
that prevents compilation.

Discussion

  • punx

    punx - 2004-10-20

    Logged In: YES
    user_id=1142617

    I am having the same error with a fresh install of Slackware 10

    "Making
    cc -O -Wall -DLINUX -DSUPPORT_STEALTH -o ./portsentry
    ./portsentry.c \ ./portsentry_io.c ./portsentry_util.c
    portsentry.c:1584:11: missing terminating " character
    portsentry.c: In function `Usage':
    portsentry.c:1585: error: parse error before "sourceforget"
    portsentry.c:1585: error: stray '\' in program
    portsentry.c:1585:24: missing terminating " character
    make: *** [linux] Error 1"

    Any Ideas would be awesome.

     
  • Nobody/Anonymous

    Logged In: NO

    I also had this problem.

    I found that if you open the portsentry.c file and go to
    line 1585 you will find that a printf statement has been cut
    over two lines. The printf statment should be one long line
    (I think)

    printf ("Copyright 1997-2003 Craig H. Rowland <craigrowland
    at users dot sourceforget dot net>\n")

     
  • Nobody/Anonymous

    Logged In: NO

    ditto:

    ]# make generic
    SYSTYPE=generic
    Making
    cc -O -Wall -o ./portsentry ./portsentry.c ./portsentry_io.c \ ./portsentry_util.c
    portsentry.c:1584:11: missing terminating " character
    portsentry.c: In function `Usage':
    portsentry.c:1585: error: syntax error before "sourceforget"
    portsentry.c:1585: error: stray '\' in program
    portsentry.c:1585:24: missing terminating " character
    make: *** [generic] Error 1

     
  • Nobody/Anonymous

    Logged In: NO

    I just edited out the line break and it worked great. The
    documentation could be improved for installation though.

     
  • Harv

    Harv - 2005-11-26

    Logged In: YES
    user_id=1389617

    Thanks for the comments!

    Editing out the stray linebreak worked fine as well. It
    IS in the copyright section (search for "copyright" in the
    portsentry.c file and you'll see it)...

    I also found a good installation reference at:
    http://www.falkotimme.com/howtos/chkrootkit_portsentry/inde
    x.php

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks