Allright Linux Gurus, since I can't PM you

July 04, 2013 12:44PM
Anybody wanna help me figure out why kbk won't compile? I'm thinking that I'm missing a dependency that defines the MYSQL type, and in mysql.h I haven't defined a table or anything for it to build to. Anybody have a step by step on what I'm missing or should check?

bub@bubscomp:~/Downloads/kbkmud/src$ make
gcc -I/opt/lampp/mysql -c -Wall -ggdb -g3 act_comm.c
In file included from include.h:56:0,
from act_comm.c:33:
/opt/lampp/mysql/mysql.h:36:1: error: unknown type name ‘MYSQL’
/opt/lampp/mysql/mysql.h:43:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘args’
/opt/lampp/mysql/mysql.h:44:33: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘args’
/opt/lampp/mysql/mysql.h:45:33: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘args’
/opt/lampp/mysql/mysql.h:46:33: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘args’
/opt/lampp/mysql/mysql.h:47:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘args’
/opt/lampp/mysql/mysql.h:48:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘args’
/opt/lampp/mysql/mysql.h:49:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘args’
/opt/lampp/mysql/mysql.h:50:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘args’
/opt/lampp/mysql/mysql.h:51:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘args’
/opt/lampp/mysql/mysql.h:52:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘args’
/opt/lampp/mysql/mysql.h:53:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘args’
In file included from include.h:69:0,
from act_comm.c:33:
mysql.h:36:1: error: unknown type name ‘MYSQL’
act_comm.c: In function ‘upstring’:
act_comm.c:853:21: warning: variable ‘or’ set but not used [-Wunused-but-set-variable]
act_comm.c: In function ‘do_pray’:
act_comm.c:1034:11: warning: variable ‘check’ set but not used [-Wunused-but-set-variable]
make: *** [act_comm.o] Error 1
bub@bubscomp:~/Downloads/kbkmud/src$
Subject Author Posted

Allright Linux Gurus, since I can't PM you

(vಠ_ಠ)> AngryFatKid July 04, 2013 12:44PM

It's probably a weird version of MySQL in that folder 'lampp'.

Death_Claw July 07, 2013 08:26PM

looks like MYSQL isn't defined in mysql.h, for whatever reason.

Jib July 06, 2013 09:34AM

I'm glad to see we are all in agreement

Splntrd July 04, 2013 08:32PM

Yeah. L=BMRIADAx01i0ra/ That should fix it.

qurdind July 04, 2013 02:01PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 88
Record Number of Users: 2 April 29, 2024
Record Number of Guests: 258 May 03, 2024