[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mysql
Subject:    Re: Compiling Problems
From:       <sinisa () cytanet ! com ! cy>
Date:       1999-11-05 12:11:18
[Download RAW message or body]

Nicole McCurty writes:
 > 
 > I'm running Solaris 2.5, gcc 2.95.1 and using the following configuration:
 > 
 > 
 > shell> CC=gcc CFLAGS="-O6" \
 >        CXX=gcc CXXFLAGS="-O6 -felide-constructors -fno-exceptions 
 > -fno-rtti" \
 >        ./configure --prefix=/usr/local/mysql --with-low-memory
 > 
 > and I get this error message:
 > 
 > mysqld.cc: In function `int main(int, char **)':
 > mysqld.cc:1034: implicit declaration of function `int gethostname(...)'
 > *** Error code 1
 > 
 > Any help would be greatly appreciated.
 > 
 > Thanks,
 > Nicole
 > 
 > 
 > 
 > 

Hi!

You have not configured well MySQL. 

Please read Solaris notes in a manual.

Follow them literally and you should not have problems if you have
installed all necessary Solaris libs and includes.

Sinisa

+----------------------------------------------------------------------+
| TcX  ____  __     _____   _____  ___     ==  mysql@tcx.se            |
|     /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|     Sinisa Milivojevic          |
|    /*/ /*/ /*/   \*\_   |*|   |*||*|     mailto:sinisa@cytanet.com.cy|
|   /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|     Larnaka, Cyprus             |
|  /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|____                             |
|  ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^                            |
|             /*/             \*\                Developers Team       |
+----------------------------------------------------------------------+

---------------------------------------------------------------------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail mysql-thread17863@lists.mysql.com

To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail mysql-unsubscribe@lists.mysql.com instead.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic