Jump to content
Chinese-Forums
  • Sign Up

Adso instruction(s)


character

Recommended Posts

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.

Link to comment
Share on other sites

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.... :(

Link to comment
Share on other sites

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.

Guest
Click here to reply. Select text to quote.

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...