Snort mailing list archives
undefined reference to `errno` ??
From: Marcin Laskowski <marcin.laskowski () chello pl>
Date: 02 Mar 2004 23:11:16 +0100
Hi, I have a problem while installing Snort with mysql support. ./configure --with-mysql finishes without errors, but then when I want to finish installation by 'make' command errors appear: /usr/lib/mysql/libmysqlclient.a(my_malloc.o)(.text+0x28): In function `my_malloc': : undefined reference to `errno' /usr/lib/mysql/libmysqlclient.a(my_malloc.o)(.text+0xcc): In function `my_memdup': : undefined reference to `errno' /usr/lib/mysql/libmysqlclient.a(my_malloc.o)(.text+0x1ba): In function `my_strdup': : undefined reference to `errno' /usr/lib/mysql/libmysqlclient.a(my_realloc.o)(.text+0x65): In function `my_realloc': : undefined reference to `errno' /usr/lib/mysql/libmysqlclient.a(my_lib.o)(.text+0x2e1): In function `my_dir': : undefined reference to `errno' /usr/lib/mysql/libmysqlclient.a(my_lib.o)(.text+0x3d1): more undefined references to `errno' follow collect2: ld returned 1 exit status I ignored that error and I tried to go further but when I want to test my config file another errors appear: database: compiled support for ( ) database: configured to use mysql database: 'mysql' support is not compiled into this build of snort ERROR: If this build of snort was obtained as a binary distribution (e.g., rpm, or Windows), then check for alternate builds that contains the necessary 'mysql' support. If this build of snort was compiled by you, then re-run the the ./configure script using the '--with-mysql' switch. For non-standard installations of a database, the '--with-mysql=DIR' syntax may need to be used to specify the base directory of the DB install. See the database documentation for cursory details (doc/README.database). and the URL to the most recent database plugin documentation. Fatal Error, Quitting.. MYSQL works fine, Installed rpms are: php-mysql-4.2.2-17 MySQL-3.23.58-1 perl-DBD-MySQL-2.1021-3 MySQL-client-3.23.55-1 mod_auth_mysql-1.11-12 MySQL-devel-3.23.53a-1 Snort without Mysql support works OK. Please help ! Greetings, Marcin. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ 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:
- undefined reference to `errno` ?? Marcin Laskowski (Mar 02)
- <Possible follow-ups>
- undefined reference to `errno` ?? Marcin Laskowski (Mar 04)