Snort mailing list archives

RE: snort-1.8.3 compile with GCC.....!!!!


From: "PAD HOSMANE" <phosmane () pop fedworld gov>
Date: Fri, 1 Feb 2002 15:55:39 -0500

Fyodor,
  thanks for the reply. I tried your simple program and I am getting the
following error.

sh-2.05# gcc /tmp/foo.c -o /tmp/foo
/tmp/foo.c: In function `main':
/tmp/foo.c:3: warning: return type of `main' is not `int'
as: warning 2: Unknown option "--traditional-format" ignored.
as: "/var/tmp/cc1qhEkd.s", line 22: error 1052: Directive name not
recognized - NSUBSPA

I even re-installed gcc 3.0.1 (on HP-UX 11.00) and tried to compile your
program and i get the same message given above.

Thanks
PAd

-----Original Message-----
From: Fyodor [mailto:fygrave () tigerteam net]
Sent: Friday, February 01, 2002 2:54 PM
To: PAD HOSMANE
Subject: Re: [Snort-users] snort-1.8.3 compile with GCC.....!!!!



gcc installation error. try to compile simple code:

--/cut here/--
/* gcc foo.c -o foo */
#include <stdio.h>

void main(void) {
    printf("hello\n");
}
--/cut here/--

On Fri, Feb 01, 2002 at 02:59:43PM -0500, PAD HOSMANE wrote:
Hi,
  I tried compiling snort-1.8.3 with ANSI C compiler on HP-UX 11.00, but
configure creates makefile for win32 ( i had already put a mail regarding
this issue). Now I am trying luck with gcc. I am getting the following
error
when I run configure



#./configure --with-libpcap-includes=/usr/local/include  --enable-flexresp -
-with-libpcap-libraries=/usr/local/lib    --with-openssl=/opt/openssl
CC=gcc
LDFLAGS=-L/opt/gcc/lib
checking for a BSD compatible install... /opt/imake/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler
cannot create executables

Anybody idea why am i getting the above error???

Thanks




_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users

--
http://www.notlsd.net
PGP fingerprint = 56DD 1511 DDDA 56D7 99C7  B288 5CE5 A713 0969 A4D1



_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: