[Dock-fans] some install problem about <string.h>

Scott Brozell sbrozell at scripps.edu
Mon Dec 22 18:46:03 PST 2008


On Sun, 7 Dec 2008, CAI Qixu wrote:

> I installed DOCK 6.2 to Fedora 10 following the method in "DOCK 6.2 User
> Manual". After I had get over the step "./configure gnu", I began to "make
> all", but there were many errors exist. It said that the functions included
> by the string.h, such as "strcmp" "memset" and so on, were not declared, and
> the INT_MIN and INT_MAX were not defined. To fix these errors, I had to add
> "#include <string.h>" to night source files, and had to define the INT_MIN
> and INT_MAX.
> But the next day, when I install DOCK6.2 to Cygwin in WIndows, I find it can
> be compiled very well, nothing change to the source files is needed. I don't
> know the reason. It's that relate to the version of gcc and g++? And I want
> to know how to solve the problem when I install it in Fedora 10?

All the missing C header includes are described here:
Different compilers and even different versions of the same compiler 
can have different sequences of cascading includes leading to the behavior
you described.


More information about the Dock-fans mailing list