Issue 320 in google-breakpad: Compile Fix on Fedora 10

10 views
Skip to first unread message

codesite...@google.com

unread,
Jun 1, 2009, 5:04:29 PM6/1/09
to google-brea...@googlegroups.com
Status: New
Owner: ----

New issue 320 by edmanm: Compile Fix on Fedora 10
http://code.google.com/p/google-breakpad/issues/detail?id=320

Current Version:

[edmanm@kore symupload]$ svn info
Path: .
URL:
http://google-breakpad.googlecode.com/svn/trunk/src/tools/linux/symupload
Repository Root: http://google-breakpad.googlecode.com/svn
Repository UUID: 4c0a9323-5329-0410-9bdc-e9ce6186880e
Revision: 345
Node Kind: directory
Schedule: normal
Last Changed Author: mmentovai
Last Changed Rev: 255
Last Changed Date: 2008-04-07 17:50:57 -0400 (Mon, 07 Apr 2008)


Build Errors:

[edmanm@kore symupload]$ make minidump_upload
g++ -gstabs -I../../.. -Wall -D_REENTRANT -c -o minidump_upload.o
minidump_upload.cc
minidump_upload.cc: In function ‘void SetupOptions(int, const char**,
Options*)’:
minidump_upload.cc:123: error: ‘exit’ was not declared in this scope
minidump_upload.cc:131: error: ‘exit’ was not declared in this scope
make: *** [minidump_upload.o] Error 1
[edmanm@kore symupload]$ make sym_upload
g++ -gstabs -I../../.. -Wall -D_REENTRANT -c -o sym_upload.o sym_upload.cc
sym_upload.cc: In function ‘void SetupOptions(int, const char**, Options*)’:
sym_upload.cc:195: error: ‘exit’ was not declared in this scope
sym_upload.cc:203: error: ‘exit’ was not declared in this scope
make: *** [sym_upload.o] Error 1


Patch (also attached):

[edmanm@kore symupload]$ svn di
Index: sym_upload.cc
===================================================================
--- sym_upload.cc (revision 345)
+++ sym_upload.cc (working copy)
@@ -40,6 +40,7 @@
// symbol_file: the contents of the breakpad-format symbol file

#include <unistd.h>
+#include <stdlib.h>

#include <cstdio>
#include <cassert>
Index: minidump_upload.cc
===================================================================
--- minidump_upload.cc (revision 345)
+++ minidump_upload.cc (working copy)
@@ -34,6 +34,7 @@
// symbol_file: the breakpad format symbol file

#include <unistd.h>
+#include <stdlib.h>

#include <string>




Attachments:
fc10-build-fix.patch 629 bytes

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

codesite...@google.com

unread,
Jun 1, 2009, 5:08:31 PM6/1/09
to google-brea...@googlegroups.com

Comment #1 on issue 320 by edmanm: Compile Fix on Fedora 10
http://code.google.com/p/google-breakpad/issues/detail?id=320

Oops. Seems to be a duplicate of Issue #300. Didn't see that one the first
time through.

codesite...@google.com

unread,
Jun 1, 2009, 10:32:35 PM6/1/09
to google-brea...@googlegroups.com

Comment #2 on issue 320 by jimblandy: Compile Fix on Fedora 10
http://code.google.com/p/google-breakpad/issues/detail?id=320

Yeah, the code needs <cstdlib> and <cstring>, as issue #300's patch does,
not the C
headers.

Reply all
Reply to author
Forward
0 new messages