Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Linux Servers

Support::Linux Servers Support forum for Linux EQEMu users.

Reply
 
Thread Tools Display Modes
  #16  
Old 10-08-2013, 02:54 PM
Xumtiil
Sarnak
 
Join Date: Apr 2006
Posts: 40
Default

I saw that, but considering most of the linux boxes i toy with are headless, and therefore without any gui, I need to use command lines to download things. The subversion was easy to get, albeit a bit slow, but the googledocs page does not provide any proper links to use wget or any other downloader option. It makes downloading those a pain - I actually need to download it manually on my windows and upload it to my linux with scp :/
Reply With Quote
  #17  
Old 10-08-2013, 03:21 PM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,165
Default

Download on desktop, FTP or some other way?
Reply With Quote
  #18  
Old 10-08-2013, 10:44 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,743
Default

There's no available command line SVN client? I use it all the time on my linux boxes.
Reply With Quote
  #19  
Old 10-09-2013, 08:14 PM
xellosdark
Fire Beetle
 
Join Date: Feb 2011
Location: hong kong
Posts: 5
Default

Quote:
Originally Posted by lerxst2112 View Post
Ideally it would be great if all the parts ran on the device, but right now they can't. It just seems that rather than let that stop you from trying to get the other 90% of the server working you just work around that small issue and move on to the rest.

Is the crash while generating the shared memory file or when it's trying to load it? How big is the file compared to the free memory on the device?
I have same problem when running share memory, this is the output of "free -m"

eqemu@fl-pcduino:~/source/build/Bin$ free -m
total used free shared buffers cached
Mem: 812 446 365 0 24 231
-/+ buffers/cache: 190 621
Swap: 0 0 0

Maybe I need to check the memory file generated.
Reply With Quote
  #20  
Old 10-09-2013, 09:33 PM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,165
Default

If you tell me how to run PCDuino in QEMU, I might be able to get the LS crypto compiled for it.
Reply With Quote
  #21  
Old 10-11-2013, 11:20 PM
xellosdark
Fire Beetle
 
Join Date: Feb 2011
Location: hong kong
Posts: 5
Default

Problem is found in shared_memory module, "Segmentation fault", in session of load
- Skill Cap
- Spells

I tried to debug the case and found that problem should occur in handling string

1) LoadSkillCaps
- no problem is found when I do not use the subroutine MakeAnyLenString
2) LoadSpells
- this trick does not work, segmentation fault still return when RunQuery handling the input SQL

When compiling the software, warning is found

/media/SDCARD/home/eqemu/source/Server/common/debug.h:107:7: note: the mangling of ‘va_list’ has changed in GCC 4.4

Will it cause any problem? (search from web, it seems that is a warning only)
Reply With Quote
  #22  
Old 10-14-2013, 05:39 AM
xellosdark
Fire Beetle
 
Join Date: Feb 2011
Location: hong kong
Posts: 5
Default

It seems that that is a hint

Old:
if(RunQuery(query, MakeAnyLenString(&query,
"SELECT * FROM spells_new ORDER BY id ASC"),
errbuf, &result)) {
safe_delete_array(query);
-> It is found that value of variable "query" was corrupted

After changing the code into
uint32 length = MakeAnyLenString(&query, "SELECT * FROM spells_new ORDER BY id ASC");
if(RunQuery(query, length,
errbuf, &result)) {

The problem is solved. Is there any option in compiler will cause this problem?

How could I check the compiler options and version? I think that I am using gcc 4.6.3

eqemu@fl-pcduino:~/source/build$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.6/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --enable-multilib --disable-sjlj-exceptions --with-arch=armv7-a --with-float=hard --with-fpu=vfpv3-d16 --with-mode=thumb --disable-werror --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf
Thread model: posix
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
Reply With Quote
Reply


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 07:06 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3