Rockbox Development > Starting Development and Compiling

Database Utility on a 64-bit Ubuntu System

(1/2) > >>

noiz77:
I just got a ipod video and have rockbox running on there and am very happy with the quality of rockbox, it is quite amazing.  I do want to be able to build the database using my computer though and I have read about the database utility.  I have gotten the source for rockbox and tried to compile the database utility and run into errors.  I am assuming that I need to get some libraries to make it all compile and was wondering if anyone knew which ones I would need to compile the database utility?  Or do I need to set up the whole development environment to be able to compile the database utility?

Chronon:
Actually posting the errors would help others give you advice.  ;)

noiz77:
Alright, this is the error that I get when I try and compile using the "make" command in the tools/database directory

--- Code: ---LD database
replaygain.o: In function `convert_gain':
/home/noiz/rockbox-21932/tools/database/../../apps/replaygain.c:126: undefined reference to `fp_factor'
replaygain.o: In function `parse_replaygain':
/home/noiz/rockbox-21932/tools/database/../../apps/replaygain.c:221: undefined reference to `strlcpy'
metadata.o: In function `get_metadata':
/home/noiz/rockbox-21932/tools/database/../../apps/metadata.c:380: undefined reference to `get_rm_metadata'
/home/noiz/rockbox-21932/tools/database/../../apps/metadata.c:406: undefined reference to `strlcpy'
metadata_common.o: In function `parse_tag':
/home/noiz/rockbox-21932/tools/database/../../apps/metadata/metadata_common.c:324: undefined reference to `strlcpy'
mp3.o: In function `parseuser':
/home/noiz/rockbox-21932/tools/database/../../apps/metadata/mp3.c:312: undefined reference to `strlcpy'
mp3.o: In function `get_mp3_metadata':
/home/noiz/rockbox-21932/tools/database/../../apps/metadata/mp3.c:1116: undefined reference to `strlcpy'
collect2: ld returned 1 exit status
make: *** [database] Error 1

--- End code ---

nls:
Those errors sound like we have broken the compilation of that utility in svn and likely has nothing to do with your system.

GodEater:
The problem is that the database utility really has no fixed owner or maintainer. So it gets broken quite often, but no-one notices for ages.

Edit: And thanks to nls, it should now build again.

Navigation

[0] Message Index

[#] Next page

Go to full version