Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Server Code Submissions

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 03-06-2011, 09:34 PM
lanystvyl
Sarnak
 
Join Date: Jan 2010
Posts: 53
Default

fixed the above error now it just bombs out when i try to (make)

make[1]: *** [dbcore.o] Error 1
make[1]: Leaving directory `/home/lanys/eqemu/build/build/chatserver'
make: *** [all-recursive] Error 1

could use some help on this one

can do make clean - it runs through fine, but make still has an error.

Code:
[root@localhost build]# make
Making all in chatserver
make[1]: Entering directory `/home/lanys/eqemu/build/build/chatserver'
if g++ -DPACKAGE_NAME=\"eqemu\" -DPACKAGE_TARNAME=\"eqemu\" -DPACKAGE_VERSION=\"0.8.0\" -DPACKAGE_STRING=\"eqemu\ 0.8.0\" -DPACKAGE_BUGREPORT=\"http://www.eqemulator.net\" -DPACKAGE=\"eqemu\" -DVERSION=\"0.8.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DX86=1 -DHAVE_LIBPTHREAD=1  -I. -I../../chatserver -I/usr/include -I/usr/local/include -DCHAT -DIRC -DEMBPERL -DEMBPERL_PLUGIN -DHAS_UNION_SEMUN -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm  -I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE  -I/usr/include/mysql  -DNO_PIDLOG -DSHAREMEM -DFIELD_ITEMS -DINVERSEXY -DCATCH_CRASH -DLINUX -Di386 -DEQDEBUG=5 -DBOTS=1  -O2 -MT BasePacket.o -MD -MP -MF ".deps/BasePacket.Tpo" -c -o BasePacket.o `test -f '../common/BasePacket.cpp' || echo '../../chatserver/'`../common/BasePacket.cpp; \
        then mv -f ".deps/BasePacket.Tpo" ".deps/BasePacket.Po"; else rm -f ".deps/BasePacket.Tpo"; exit 1; fi
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
if g++ -DPACKAGE_NAME=\"eqemu\" -DPACKAGE_TARNAME=\"eqemu\" -DPACKAGE_VERSION=\"0.8.0\" -DPACKAGE_STRING=\"eqemu\ 0.8.0\" -DPACKAGE_BUGREPORT=\"http://www.eqemulator.net\" -DPACKAGE=\"eqemu\" -DVERSION=\"0.8.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DX86=1 -DHAVE_LIBPTHREAD=1  -I. -I../../chatserver -I/usr/include -I/usr/local/include -DCHAT -DIRC -DEMBPERL -DEMBPERL_PLUGIN -DHAS_UNION_SEMUN -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm  -I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE  -I/usr/include/mysql  -DNO_PIDLOG -DSHAREMEM -DFIELD_ITEMS -DINVERSEXY -DCATCH_CRASH -DLINUX -Di386 -DEQDEBUG=5 -DBOTS=1  -O2 -MT Condition.o -MD -MP -MF ".deps/Condition.Tpo" -c -o Condition.o `test -f '../common/Condition.cpp' || echo '../../chatserver/'`../common/Condition.cpp; \
        then mv -f ".deps/Condition.Tpo" ".deps/Condition.Po"; else rm -f ".deps/Condition.Tpo"; exit 1; fi
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
if g++ -DPACKAGE_NAME=\"eqemu\" -DPACKAGE_TARNAME=\"eqemu\" -DPACKAGE_VERSION=\"0.8.0\" -DPACKAGE_STRING=\"eqemu\ 0.8.0\" -DPACKAGE_BUGREPORT=\"http://www.eqemulator.net\" -DPACKAGE=\"eqemu\" -DVERSION=\"0.8.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DX86=1 -DHAVE_LIBPTHREAD=1  -I. -I../../chatserver -I/usr/include -I/usr/local/include -DCHAT -DIRC -DEMBPERL -DEMBPERL_PLUGIN -DHAS_UNION_SEMUN -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm  -I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE  -I/usr/include/mysql  -DNO_PIDLOG -DSHAREMEM -DFIELD_ITEMS -DINVERSEXY -DCATCH_CRASH -DLINUX -Di386 -DEQDEBUG=5 -DBOTS=1  -O2 -MT CRC16.o -MD -MP -MF ".deps/CRC16.Tpo" -c -o CRC16.o `test -f '../common/CRC16.cpp' || echo '../../chatserver/'`../common/CRC16.cpp; \
        then mv -f ".deps/CRC16.Tpo" ".deps/CRC16.Po"; else rm -f ".deps/CRC16.Tpo"; exit 1; fi
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
if g++ -DPACKAGE_NAME=\"eqemu\" -DPACKAGE_TARNAME=\"eqemu\" -DPACKAGE_VERSION=\"0.8.0\" -DPACKAGE_STRING=\"eqemu\ 0.8.0\" -DPACKAGE_BUGREPORT=\"http://www.eqemulator.net\" -DPACKAGE=\"eqemu\" -DVERSION=\"0.8.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DX86=1 -DHAVE_LIBPTHREAD=1  -I. -I../../chatserver -I/usr/include -I/usr/local/include -DCHAT -DIRC -DEMBPERL -DEMBPERL_PLUGIN -DHAS_UNION_SEMUN -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm  -I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE  -I/usr/include/mysql  -DNO_PIDLOG -DSHAREMEM -DFIELD_ITEMS -DINVERSEXY -DCATCH_CRASH -DLINUX -Di386 -DEQDEBUG=5 -DBOTS=1  -O2 -MT crc32.o -MD -MP -MF ".deps/crc32.Tpo" -c -o crc32.o `test -f '../common/crc32.cpp' || echo '../../chatserver/'`../common/crc32.cpp; \
        then mv -f ".deps/crc32.Tpo" ".deps/crc32.Po"; else rm -f ".deps/crc32.Tpo"; exit 1; fi
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
../../chatserver/../common/crc32.cpp:105:2: warning: #warning "Comment out i386 define if your arch isn't x86"
if g++ -DPACKAGE_NAME=\"eqemu\" -DPACKAGE_TARNAME=\"eqemu\" -DPACKAGE_VERSION=\"0.8.0\" -DPACKAGE_STRING=\"eqemu\ 0.8.0\" -DPACKAGE_BUGREPORT=\"http://www.eqemulator.net\" -DPACKAGE=\"eqemu\" -DVERSION=\"0.8.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DX86=1 -DHAVE_LIBPTHREAD=1  -I. -I../../chatserver -I/usr/include -I/usr/local/include -DCHAT -DIRC -DEMBPERL -DEMBPERL_PLUGIN -DHAS_UNION_SEMUN -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm  -I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE  -I/usr/include/mysql  -DNO_PIDLOG -DSHAREMEM -DFIELD_ITEMS -DINVERSEXY -DCATCH_CRASH -DLINUX -Di386 -DEQDEBUG=5 -DBOTS=1  -O2 -MT dbcore.o -MD -MP -MF ".deps/dbcore.Tpo" -c -o dbcore.o `test -f '../common/dbcore.cpp' || echo '../../chatserver/'`../common/dbcore.cpp; \
        then mv -f ".deps/dbcore.Tpo" ".deps/dbcore.Po"; else rm -f ".deps/dbcore.Tpo"; exit 1; fi
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
../../chatserver/../common/dbcore.cpp:10:20: error: errmsg.h: No such file or directory
../../chatserver/../common/dbcore.cpp:11:26: error: mysqld_error.h: No such file or directory
In file included from ../../chatserver/../common/dbcore.cpp:13:
../../chatserver/../common/dbcore.h:9:19: error: mysql.h: No such file or directory
../../chatserver/../common/dbcore.h:25: error: ‘MYSQL_RES’ has not been declared
../../chatserver/../common/dbcore.h:28: error: ISO C++ forbids declaration of ‘MYSQL’ with no type
../../chatserver/../common/dbcore.h:28: error: expected ‘;’ before ‘*’ token
../../chatserver/../common/dbcore.h:30: error: expected `;' before ‘static’
../../chatserver/../common/dbcore.h:36: error: ‘MYSQL’ does not name a type
../../chatserver/../common/dbcore.cpp: In constructor ‘DBcore::DBcore()’:
../../chatserver/../common/dbcore.cpp:35: error: ‘mysql’ was not declared in this scope
../../chatserver/../common/dbcore.cpp:35: error: ‘mysql_init’ was not declared in this scope
../../chatserver/../common/dbcore.cpp: In destructor ‘DBcore::~DBcore()’:
../../chatserver/../common/dbcore.cpp:45: error: ‘mysql’ was not declared in this scope
../../chatserver/../common/dbcore.cpp:45: error: ‘mysql_close’ was not declared in this scope
../../chatserver/../common/dbcore.cpp: In member function ‘void DBcore::ping()’:
../../chatserver/../common/dbcore.cpp:139: error: ‘mysql’ was not declared in this scope
../../chatserver/../common/dbcore.cpp:139: error: ‘mysql_ping’ was not declared in this scope
../../chatserver/../common/dbcore.cpp: At global scope:
../../chatserver/../common/dbcore.cpp:143: error: ‘MYSQL_RES’ has not been declared
../../chatserver/../common/dbcore.cpp: In member function ‘bool DBcore::RunQuery(const char*, int32, char*, int**, int32*, int32*, int32*, bool)’:
../../chatserver/../common/dbcore.cpp:158: error: ‘mysql’ was not declared in this scope
../../chatserver/../common/dbcore.cpp:158: error: ‘mysql_real_query’ was not declared in this scope
../../chatserver/../common/dbcore.cpp:159: error: ‘mysql_errno’ was not declared in this scope
../../chatserver/../common/dbcore.cpp:159: error: ‘CR_SERVER_GONE_ERROR’ was not declared in this scope
../../chatserver/../common/dbcore.cpp:161: error: ‘mysql_errno’ was not declared in this scope
../../chatserver/../common/dbcore.cpp:161: error: ‘CR_SERVER_LOST’ was not declared in this scope
../../chatserver/../common/dbcore.cpp:161: error: ‘CR_SERVER_GONE_ERROR’ was not declared in this scope
../../chatserver/../common/dbcore.cpp:171: error: ‘MYSQL_ERRMSG_SIZE’ was not declared in this scope
../../chatserver/../common/dbcore.cpp:171: error: ‘mysql_error’ was not declared in this scope
../../chatserver/../common/dbcore.cpp:172: error: ‘mysql_error’ was not declared in this scope
../../chatserver/../common/dbcore.cpp:180: error: ‘MYSQL_ERRMSG_SIZE’ was not declared in this scope
../../chatserver/../common/dbcore.cpp:180: error: ‘mysql_error’ was not declared in this scope
../../chatserver/../common/dbcore.cpp:188: error: ‘mysql_field_count’ was not declared in this scope
../../chatserver/../common/dbcore.cpp:189: error: ‘mysql_store_result’ was not declared in this scope
../../chatserver/../common/dbcore.cpp:197: error: ‘mysql_affected_rows’ was not declared in this scope
../../chatserver/../common/dbcore.cpp:199: error: ‘mysql_insert_id’ was not declared in this scope
../../chatserver/../common/dbcore.cpp: In member function ‘int32 DBcore::DoEscapeString(char*, const char*, int32)’:
../../chatserver/../common/dbcore.cpp:238: error: ‘mysql’ was not declared in this scope
../../chatserver/../common/dbcore.cpp:238: error: ‘mysql_real_escape_string’ was not declared in this scope
../../chatserver/../common/dbcore.cpp: In member function ‘bool DBcore::Open(int32*, char*)’:
../../chatserver/../common/dbcore.cpp:264: error: ‘mysql’ was not declared in this scope
../../chatserver/../common/dbcore.cpp:264: error: ‘mysql_close’ was not declared in this scope
../../chatserver/../common/dbcore.cpp:272: error: ‘CLIENT_FOUND_ROWS’ was not declared in this scope
../../chatserver/../common/dbcore.cpp:274: error: ‘CLIENT_COMPRESS’ was not declared in this scope
../../chatserver/../common/dbcore.cpp:276: error: ‘CLIENT_SSL’ was not declared in this scope
../../chatserver/../common/dbcore.cpp:277: error: ‘mysql’ was not declared in this scope
../../chatserver/../common/dbcore.cpp:277: error: ‘mysql_real_connect’ was not declared in this scope
../../chatserver/../common/dbcore.cpp:283: error: ‘mysql_errno’ was not declared in this scope
../../chatserver/../common/dbcore.cpp:285: error: ‘MYSQL_ERRMSG_SIZE’ was not declared in this scope
../../chatserver/../common/dbcore.cpp:285: error: ‘mysql_errno’ was not declared in this scope
../../chatserver/../common/dbcore.cpp:285: error: ‘mysql_error’ was not declared in this scope
make[1]: *** [dbcore.o] Error 1
make[1]: Leaving directory `/home/lanys/eqemu/build/build/chatserver'
make: *** [all-recursive] Error 1
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 10:55 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3