Skip to content

Build failed on RHEL 5.7 #9

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. untar file
2. change goo/gfile.h to include /usr/include/sys/dir.h (as for issue #3)
3. make 

What is the expected output? What do you see instead?

I was expecting to get the binary. Instead I got this:

cd goo; make
make[1]: Entering directory `/root/goo'
g++ -I/usr/local/include/freetype2 -I/usr/local/include -g -O2 -DHAVE_CONFIG_H 
-I.. -I. -c gfile.cc
gfile.cc: In member function ‘GDirEntry* GDir::getNextEntry()’:
gfile.cc:700: error: invalid use of undefined type ‘struct dirent’
gfile.cc:696: error: forward declaration of ‘struct dirent’
gfile.cc:704: error: invalid use of undefined type ‘struct dirent’
gfile.cc:696: error: forward declaration of ‘struct dirent’
make[1]: *** [gfile.o] Error 1
make[1]: Leaving directory `/root/goo'
make: *** [all] Error 2

What version of the product are you using? On what operating system?

0.49

Please provide any additional information below.

- Red Hat Enterprise Linux Server release 5.7
- gcc version 4.1.2 20080704 (Red Hat 4.1.2-51)
- Point 2 was necessary because I was getting the same error as issue #3

Original issue reported on code.google.com by dani...@dvaleriani.net on 26 Sep 2011 at 3:07

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions