Date: Mon, 4 Mar 2002 15:57:27 -0800 (PST) From: Aragon Gouveia <aragon@phat.za.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/35546: security/nessus compilation error due to strcasestr Message-ID: <200203042357.g24NvR421615@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 35546 >Category: ports >Synopsis: security/nessus compilation error due to strcasestr >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 04 16:00:06 PST 2002 >Closed-Date: >Last-Modified: >Originator: Aragon Gouveia >Release: 4.4-STABLE >Organization: none >Environment: FreeBSD root.nis.za 4.4-STABLE FreeBSD 4.4-STABLE #0: Fri Dec 7 14:07:57 SAST 2001 root@root.nis.za:/usr/src/sys/compile/ROOT i386 >Description: Before I continue I should say I'm not big on programming. When trying to compile Nessus 1.0.9 I get the following error: html_graph_output.o: In function `risk_severity_by_kind': html_graph_output.o(.text+0x9d): undefined reference to `strcasestr' html_graph_output.o(.text+0xc1): undefined reference to `strcasestr' html_graph_output.o(.text+0xe9): undefined reference to `strcasestr' html_graph_output.o(.text+0x10d): undefined reference to `strcasestr' html_graph_output.o(.text+0x125): undefined reference to `strcasestr' html_graph_output.o(.text+0x13d): more undefined references to `strcasestr' follow *** Error code 1 I read the previous PR's about this problem. At one point there was a suggestion to uncomment line 86 in /usr/include/string.h. However, on my release string.h does not have a commented out line with the strcasestr declaration. I also noticed one of the port's patch files, patch-nessus-html_graph_output.c, which I guess fixes the problem for other releases. Applying this patch breaks the compilation on my release. >How-To-Repeat: >Fix: Do not apply /usr/ports/security/nessus/files/patch-nessus-html_graph_output.c to nessus source. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203042357.g24NvR421615>