character Posted March 1, 2008 at 03:08 PM Author Report Posted March 1, 2008 at 03:08 PM Using the adso-080216.sql database, I get these results: steve@wearable:~/chinese_dictionary/adso-v5.023/source$ ./adso -f lxf_prologue.u8 -ie utf8 -is traditional -oe utf8 -os traditional --trad-vocab > lxf_adso10.u8 steve@wearable:~/chinese_dictionary/adso-v5.023/source$ ./adso -f lxf_prologue.u8 -ie utf8 -is traditional -oe utf8 -os traditional --vocab > lxf_adso11.u8 steve@wearable:~/chinese_dictionary/adso-v5.023/source$ ls -al *.u8 -rw-r--r-- 1 steve steve 0 2008-03-01 07:25 lxf_adso10.u8 -rw-r--r-- 1 steve steve 214420 2008-03-01 07:27 lxf_adso11.u8 -rw-r--r-- 1 steve steve 22809 2008-03-01 07:20 lxf_prologue.u8 -- I.e., --trad-vocab yields no output. Does that narrow it down sufficiently determine if some library call/codepath/etc could be failing silently, or an error return code is ignored, or something? Before posting this, I figured I'd better check, so I installed g++, mysql, and adso on a second Ubuntu 7.10 system. I get the same behavior there. It's certainly possible that I messed up both installs somehow, but without knowing what to check I'm leaning toward some undocumented requirement in adso. Quote
trevelyan Posted March 3, 2008 at 12:47 AM Report Posted March 3, 2008 at 12:47 AM Only immediate suggestion I'd have is editing the Makefile and removing all of the extraneous g++ flags. ie. the software shouldn't be outputting "--static" and remove "mtune" and the other "fno-reduce" flag as well. Those can cause problems porting to non 32-bit environments and the --static flag could be causing problems with the standard libraries. Otherwise, I'm not sure what to suggest. We've got successful compiles on a host of platforms and this is the first time I've heard of this problem, so it wouldn't seem to be with the underlying code (which is just standard C++). Not sure what to recommend and won't be able to take a closer look until I get a copy of 7.10 installed locally.... Quote
Recommended Posts
Join the conversation
You can post now and select your username and password later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.