public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Error Message: declaration does not declare anything
@ 2001-06-20 16:16 Jeff Wood
  0 siblings, 0 replies; only message in thread
From: Jeff Wood @ 2001-06-20 16:16 UTC (permalink / raw)
  To: gcc-help

I'm trying to cross-compile wxGTK for the strongarm.  I keep getting the
following from the make:

In file included from
/usr/local/arm/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/st
dlib.h:391,
                 from include/wx/string.h:61,
                 from include/wx/memory.h:20,
                 from include/wx/object.h:20,
                 from include/wx/gtk/accel.h:21,
                 from include/wx/accel.h:9,
                 from ./src/gtk/accel.cpp:14:
sys/types.h:63: declaration does not declare anything
sys/types.h:68: declaration does not declare anything
sys/types.h:78: declaration does not declare anything
sys/types.h:84: declaration does not declare anything
sys/types.h:96: declaration does not declare anything
make: *** [accel.o] Error 1

First, I'm not sure what the error message means.  Secondly, maybe someone
out there has run into the
cross-compile error that I'm seeing?  If so, I could sure use some help.

Oh, Yea -- the lines referenced in the sys/types.h are typedefs and are
included below
(and I appologize for the length).


#ifndef __gid_t_defined
typedef __gid_t gid_t;		// this is line 63
# define __gid_t_defined
#endif

#ifndef __mode_t_defined
typedef __mode_t mode_t;	// this is line 68
# define __mode_t_defined
#endif
 .
 .
 .
#ifndef __uid_t_defined
typedef __uid_t uid_t;		// this is line 78
# define __uid_t_defined
#endif

#ifndef __off_t_defined
# ifndef __USE_FILE_OFFSET64
typedef __off_t off_t;		// this is line 84
# else
typedef __off64_t off_t;
# endif
# define __off_t_defined
#endif
#if defined __USE_LARGEFILE64 && !defined __off64_t_defined
typedef __off64_t off64_t;
# define __off64_t_defined
#endif

#ifndef __pid_t_defined
typedef __pid_t pid_t;		// this is line 96
# define __pid_t_defined
#endif

Thanks,
Jeff Wood
Fluke, Networks
719.598.3842 x662



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-06-20 16:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-20 16:16 Error Message: declaration does not declare anything Jeff Wood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).