Welcome! Log In Create A New Profile

Advanced

Re: Compile MySql with Nginx

April 29, 2011 01:10PM
Ok, definitly there's something wrong going on here on the makefile(!?)...

I did a quick helloworld.c and compiled along with the very same library with sucess:

---------------------------------------------------------------------------
[root@localhost C tmp]# ll
total 4
-rwxr--r-- 1 root root 53 Apr 29 05:09 main.c
[root@localhost C tmp]# gcc main.c -L/usr/lib/mysql -lmysqlclient -o hellowithlib
main.c: In function âmainâ:
main.c:3: warning: incompatible implicit declaration of built-in function âprintfâ
[root@localhost C tmp]# ll
total 12
-rwxr-xr-x 1 root root 5160 Apr 29 05:10 hellowithlib
-rwxr--r-- 1 root root 53 Apr 29 05:09 main.c
[root@localhost C tmp]# ./hellowithlib

Hello word!!
---------------------------------------------------------------------------

pff...any ideas?
Subject Author Posted

Compile MySql with Nginx

arleybls April 28, 2011 06:52AM

Re: Compile MySql with Nginx

jdm April 29, 2011 05:04AM

Re: Compile MySql with Nginx

arleybls April 29, 2011 05:59AM

Re: Compile MySql with Nginx

jdm April 29, 2011 06:50AM

Re: Compile MySql with Nginx

arleybls April 29, 2011 07:05AM

Re: Compile MySql with Nginx

arleybls April 29, 2011 01:10PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 328
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready