Closed GoogleCodeExporter closed 9 years ago
The unused variable errors are a side effect of the earlier errors - once the
earlier errors are fixed, the unused variable errors will go away.
Original comment by benl@google.com
on 11 Sep 2014 at 2:00
By the way, it looks like you are not compiling the latest version, because the
latest version demotes the earlier errors to warnings with this flag:
-Wno-error=unused-local-typedefs.
You know we moved to github a while back, right?
Original comment by benl@google.com
on 11 Sep 2014 at 3:00
[deleted comment]
I downloaded the source code with "git clone
https://github.com/google/certificate-transparency.git"
Original comment by serosc...@gmail.com
on 12 Sep 2014 at 8:22
I looked at the output, but I couldn't see the earlier errors that Ben refers
to (the first errors are unused typedefs)?
Could you report the version of gcc you're using (with "g++ --version")?
From the output, these all look like warnings that were treated as errors, you
might be able to get it to build by removing the "-Werror" from line 8 of
cpp/Makefile.
Original comment by pphaneuf@google.com
on 12 Sep 2014 at 9:00
The unused typedefs are the earlier errors I was referring to.
An alternative to removing -Werror is to use:
export LOCAL_CXXFLAGS="-Wno-error=unused-local-typedefs"
Sorry, I forgot that I had added that locally.
Original comment by benl@google.com
on 12 Sep 2014 at 10:55
That "export" solved my problem!! I could compile the ct-server.cc. I still
couldn't install ct, but due to different problems (java and ant
problems...;(). I continue working with it. THANKS FOR YOUR HELP!.
Original comment by serosc...@gmail.com
on 12 Sep 2014 at 12:59
Glad you're on your way!
If you have further issues to report, you can go here:
https://github.com/google/certificate-transparency/issues
Thanks!
Original comment by pphaneuf@google.com
on 12 Sep 2014 at 1:30
Original issue reported on code.google.com by
serosc...@gmail.com
on 11 Sep 2014 at 1:30Attachments: