This is the mail archive of the cygwin@cygwin.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]
Other format: [Raw text]

Re: newbie problem


Wait a moment - are you using the mingw environment
to build the Berekley DB ? This would possibly explain
your previous post - configure couldn't find "select".

mingw is a posix emulation layer - i.e. it provides
posix C library interface and system calls ontop the
Win32 environment, while mingw is a compiler toolchain
based on gnu tools ported to windows.

"Albert L. Wagner" wrote:
> 
> While attempting to compile the Berkley database, db-3.3.11, I
> received the following.  Has anyone compiled this library
> before?  Can you point me in the right direction?
> 
> <more>
> gcc -c -I. -I../dist/../include -I../dist/../include_auto -O
> ../dist/../os/o
> lags.c  -DDLL_EXPORT -DPIC -o os_oflags.o
> ../dist/../os/os_oflags.c: In function `__db_omode':
> ../dist/../os/os_oflags.c:110: `S_IRGRP' undeclared (first use in
> this funct
> 
> ../dist/../os/os_oflags.c:110: (Each undeclared identifier is
> reported only
> 
> ../dist/../os/os_oflags.c:110: for each function it appears in.)
> ../dist/../os/os_oflags.c:112: `S_IWGRP' undeclared (first use in
> this funct
> 
> ../dist/../os/os_oflags.c:114: `S_IROTH' undeclared (first use in
> this funct
> 
> ../dist/../os/os_oflags.c:116: `S_IWOTH' undeclared (first use in
> this funct
> 
> d:\MinGW-1_1\bin\make.exe: *** [os_oflags.lo] Error 1

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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