This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Make error messages


Hello,

I'm using cygwin to compile code that was written on a HP-UX system,
but I'm getting many error messages when using make.  Here's one of them:

\\cygnus\\cygwin-b20\\H-i586-cygwin32\\i586-cygwin32\\include\\string.h:24: warn
ing: conflicts with built-in declaration `int memcmp(const void *, const 
void *, unsigned int)'

A few questions: 
1)Are the double slashes problematic?
2) What are the main include directories to use within cygwin?
3) Is it essential to use the bash shell, or can I use plain DOS?
4) I've read that for Win95 and 98 systems (I have 98), replacing the
	default cygwin1.dll file with an older version (cygwin1-19990115) is
	best.  Is this the case?

Here is some more error messages; maybe you'll notice something trivial

gCC -c -O -I. -I/robert/pccts/h
-I/cygnus/cygwin-b20/H-i586-cygwin32/i586-cygwin
32/include -o SpiceGrammer.o SpiceGrammer.cpp

In file included from stddef.h:79,
                 from
\\cygnus\\cygwin-b20\\H-i586-cygwin32\\i586-cygwin32\\incl
ude\\stdio.h:37,
                 from \\robert\\pccts\\h\\pccts_stdio.h:7,
                 from \\robert\\pccts\\h\\pcctscfg.h:61,
                 from SpiceGrammer.cpp:14:
\\cygnus\\cygwin-b20\\H-i586-cygwin32\\i586-cygwin32\\include\\time.h:68: syntax
 error before `('
In file included from \\robert\\pccts\\h\\pccts_stdio.h:7,
                 from \\robert\\pccts\\h\\pcctscfg.h:61,
                 from SpiceGrammer.cpp:14:
\\cygnus\\cygwin-b20\\H-i586-cygwin32\\i586-cygwin32\\include\\stdio.h:138: type
 specifier omitted for parameter
\\cygnus\\cygwin-b20\\H-i586-cygwin32\\i586-cygwin32\\include\\stdio.h:158: synt
ax error before `('
\\cygnus\\cygwin-b20\\H-i586-cygwin32\\i586-cygwin32\\include\\stdio.h:159: synt
ax error before `('
In file included from \\robert\\pccts\\h\\pccts_stdlib.h:7,
                 from \\robert\\pccts\\h\\pcctscfg.h:62,
                 from SpiceGrammer.cpp:14:
\\cygnus\\cygwin-b20\\H-i586-cygwin32\\i586-cygwin32\\include\\stdlib.h:56: type
 specifier omitted for parameter
\\cygnus\\cygwin-b20\\H-i586-cygwin32\\i586-cygwin32\\include\\stdlib.h:56: pars
e error before `,'
\\cygnus\\cygwin-b20\\H-i586-cygwin32\\i586-cygwin32\\include\\stdlib.h:58: `bse
arch' declared as function returning a function
\\cygnus\\cygwin-b20\\H-i586-cygwin32\\i586-cygwin32\\include\\stdlib.h: In
func
tion `int bsearch(...)':
\\cygnus\\cygwin-b20\\H-i586-cygwin32\\i586-cygwin32\\include\\stdlib.h:58: pars
e error before `)'
\\cygnus\\cygwin-b20\\H-i586-cygwin32\\i586-cygwin32\\include\\stdlib.h:59: `siz
e_t' undeclared (first use this function)
\\cygnus\\cygwin-b20\\H-i586-cygwin32\\i586-cygwin32\\include\\stdlib.h:59: (Eac
h undeclared identifier is reported only once
\\cygnus\\cygwin-b20\\H-i586-cygwin32\\i586-cygwin32\\include\\stdlib.h:59: for
each function it appears in.)
\\cygnus\\cygwin-b20\\H-i586-cygwin32\\i586-cygwin32\\include\\stdlib.h:59: pars
e error before `,'
\\cygnus\\cygwin-b20\\H-i586-cygwin32\\i586-cygwin32\\include\\stdlib.h:66: pars
e error before `)'
\\cygnus\\cygwin-b20\\H-i586-cygwin32\\i586-cygwin32\\include\\stdlib.h:67: type
 specifier omitted for parameter
\\cygnus\\cygwin-b20\\H-i586-cygwin32\\i586-cygwin32\\include\\stdlib.h:68: type
 specifier omitted for parameter
\\cygnus\\cygwin-b20\\H-i586-cygwin32\\i586-cygwin32\\include\\stdlib.h:69: type
 specifier omitted for parameter

Thanks a lot

Robert


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]