rioutil 1.5.0b1r3 works on FC4 Athlon64 (kernel
2.6.15, gcc 4.0.2), but you have to tweak the
install process a little. When you run
"configure" you get an error message:
checking build system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized
configure: error: /bin/sh ./config.sub x86_64-unknown-linux-gnu failed
Configuring with --build=i386 fixes the problem:
./configure --build=i386 --with-libusb
However, running "make" then results in:
libtool: ltconfig version `' does not match ltmain.sh version `1.4a'
Fatal configuration error. See the libtool docs for more information.
This can be fixed by commenting out the part of
the generated file "libtool" which checks the
Next, gcc then complains about
file_list.c:137: error: invalid lvalue in assignment
Changing line 137 seems to fix it:
old: (u_int32_t *)read_buffer = (u_int8_t *) malloc (RIO_FTS);
new: read_buffer = (u_int8_t *) malloc (RIO_FTS);
Lastly, gcc complains about the "-prebind"
gcc: unrecognized option '-prebind'
Removing it from src/Makefile seems to fix it:
old: rioutil_LDFLAGS = -prebind
new: rioutil_LDFLAGS =
The 1.5.0 build has a problem with uploading
files to the external memory card on my S30.
It doesn't seem to update the file list in the
However, 1.4.7 appears to work. It doesn't need
any tweaking except for line 400 in
old: iptr = (u_int32_t *)read_buffer = (u_int8_t *) malloc (RIO_FTS);
new: iptr = (u_int32_t *) (read_buffer = (u_int8_t *) malloc (RIO_FTS));
Log in to post a comment.