I downloaded the source, installed on my box, but it gave me the
following error



$ echo $CLASSPATH
:../java/target/protobuf-java-2.3.0.jar




 $ uname -a
Linux yyang-laptop 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16
14:04:26 UTC 2009 i686 GNU/Linux



$ make java
javac AddPerson.java ListPeople.java com/example/tutorial/
AddressBookProtos.java
com/example/tutorial/AddressBookProtos.java:10:
com.example.tutorial.AddressBookProtos.Person is not abstract and does
not override abstract method toBuilder() in
com.google.protobuf.MessageLite
  public static final class Person extends
                      ^
com/example/tutorial/AddressBookProtos.java:89:
com.example.tutorial.AddressBookProtos.Person.PhoneNumber is not
abstract and does not override abstract method toBuilder() in
com.google.protobuf.MessageLite
    public static final class PhoneNumber extends
                        ^
com/example/tutorial/AddressBookProtos.java:526:
com.example.tutorial.AddressBookProtos.AddressBook is not abstract and
does not override abstract method toBuilder() in
com.google.protobuf.MessageLite
  public static final class AddressBook extends
                      ^
com/example/tutorial/AddressBookProtos.java:793:
internalBuildGeneratedFileFrom(java.lang.String[],com.google.protobuf.Descriptors.FileDescriptor[],com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner)
in com.google.protobuf.Descriptors.FileDescriptor cannot be applied to
(java.lang.String,com.google.protobuf.Descriptors.FileDescriptor[],com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner)
      .internalBuildGeneratedFileFrom(descriptorData,
      ^
4 errors
make: *** [javac_middleman] Error 1

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to