BrotherHongChen / google-breakpad

Automatically exported from code.google.com/p/google-breakpad
0 stars 0 forks source link

‘O_RDONLY’ was not declared in this scope #422

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I tried to compile with Fedora Rawhide (FC15/16) and got this error: 
‘O_RDONLY’ was not declared in this scope
2. I'm not a programmer, but I tried adding '#include <fcntl.h>' to 
linux_dumper_unittest.cc
3. 2 of 31 tests fail on 'make check'

What is the expected output? What do you see instead?
[  FAILED  ] 6 tests, listed below:
[  FAILED  ] ExceptionHandlerTest.ModuleInfo
[  FAILED  ] LinuxDumperTest.MergedMappings
[  FAILED  ] LinuxDumperTest.VerifyStackReadWithMultipleThreads
[  FAILED  ] MinidumpWriterTest.MappingInfo
[  FAILED  ] MinidumpWriterTest.MappingInfoContained
[  FAILED  ] MinidumpWriterTest.DeletedBinary

What version of the product are you using? On what operating system?
autoconf.noarch.2.68-2.fc15
gcc-4.6.0-0.14.fc15

Please provide any additional information below.
Here's my config output:
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for ranlib... ranlib
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking a.out.h usability... yes
checking a.out.h presence... yes
checking for a.out.h... yes
checking for struct sockaddr.sa_len... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/config.h
config.status: executing depfiles commands

Original issue reported on code.google.com by thomasbe...@gmail.com on 22 Mar 2011 at 12:31

GoogleCodeExporter commented 9 years ago
Should be fixed at http://code.google.com/p/google-breakpad/source/detail?r=784
I don't have EditBugs permission to mark this fixed..

Original comment by scarybea...@gmail.com on 22 Mar 2011 at 4:20

GoogleCodeExporter commented 9 years ago
r784

Original comment by jessicag...@gmail.com on 22 Mar 2011 at 5:35