So it looked to me like an issue of protobuf.jar vs. protobuf-java.jar. I changed build.xml to reference protobuf-java.jar and built again, and it worked.
Here is information about my system:
~/osrm/osmium/libosmpbf/OSM-binary $ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise
Hello. When I tried to compile Osmium (with 'debuild -I -us -uc'), the ant part gave me an error like this:
It seems that the .jar filename installed by libprotobuf-java and the .jar filename referenced in build.xml disagree:
So it looked to me like an issue of protobuf.jar vs. protobuf-java.jar. I changed build.xml to reference protobuf-java.jar and built again, and it worked.
Here is information about my system: