From owner-freebsd-ports Mon Mar 4 16: 0:12 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C179237B419 for ; Mon, 4 Mar 2002 16:00:06 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g25006H22183; Mon, 4 Mar 2002 16:00:06 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 57ED637B400 for ; Mon, 4 Mar 2002 15:57:27 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g24NvR421615; Mon, 4 Mar 2002 15:57:27 -0800 (PST) (envelope-from nobody) Message-Id: <200203042357.g24NvR421615@freefall.freebsd.org> Date: Mon, 4 Mar 2002 15:57:27 -0800 (PST) From: Aragon Gouveia To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/35546: security/nessus compilation error due to strcasestr Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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