breakpad compilation fails

17 views
Skip to first unread message

Robert

unread,
May 27, 2010, 2:36:15 PM5/27/10
to Chromium-dev
When compiling chromium on Fedora 13 I get the following error

g++ -pthread -fno-exceptions -Wno-unused-parameter -Wno-missing-field-
initializers -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -m32 -mmmx -
march=pentium4 -msse2 -mfpmath=sse -fno-strict-aliasing -O2 -fno-ident
-fdata-sections -ffunction-sections -fno-rtti -fno-threadsafe-statics -
fvisibility-inlines-hidden '-DNO_HEAPCHECKER' '-DCHROMIUM_BUILD' '-
DENABLE_GPU=1' '-DNDEBUG' '-DNVALGRIND' '-
DDYNAMIC_ANNOTATIONS_ENABLED=0' -Ibreakpad/src -Ibreakpad/src/client -
Ibreakpad/src/third_party/linux/include -I. -Ibreakpad -MMD -MF out/
Release/.deps/out/Release/obj.target/breakpad_client/breakpad/src/
common/linux/file_id.o.d.raw -c -o out/Release/obj.target/
breakpad_client/breakpad/src/common/linux/file_id.o breakpad/src/
common/linux/file_id.cc
breakpad/src/common/linux/file_id.cc: In member function ‘bool
google_breakpad::FileID::ElfFileIdentifier(uint8_t*)’:
breakpad/src/common/linux/file_id.cc:132: error: ‘fstat’ was not
declared in this scope
make: *** [out/Release/obj.target/breakpad_client/breakpad/src/common/
linux/file_id.o] Error 1

I've tried putting in the prototype for fstat, but then it breaks at a
later stage.

Any sugestions?

Lei Zhang

unread,
Jun 4, 2010, 5:47:18 PM6/4/10
to nju...@gmail.com, Chromium-dev
Is this still a problem?

> --
> Chromium Developers mailing list: chromi...@chromium.org
> View archives, change email options, or unsubscribe:
>    http://groups.google.com/a/chromium.org/group/chromium-dev
>

Lei Zhang

unread,
Jun 4, 2010, 5:48:54 PM6/4/10
to nju...@gmail.com, Chromium-dev
Is this still a problem?

On Thu, May 27, 2010 at 11:36 AM, Robert <nju...@gmail.com> wrote:

leo

unread,
Jun 21, 2010, 11:23:07 PM6/21/10
to Chromium-dev
I didn't see a bug # for this, but yes, I'm also hitting it on fedora
13. Similar flags except on an atom (intel64).

- Leo
> > Chromium Developers mailing list: chromium-...@chromium.org

Lei Zhang

unread,
Jun 22, 2010, 2:38:14 PM6/22/10
to lmey...@gmail.com, Chromium-dev
I believe this should be fixed in Breakpad r605. Chromium is currently
using r604. I'll update the DEPS file to use r605.

http://code.google.com/p/google-breakpad/source/detail?r=605

> Chromium Developers mailing list: chromi...@chromium.org

Reply all
Reply to author
Forward
0 new messages