dbTalk Databases Forums  

configure error with util.sig.c on solaris 10

comp.databases.berkeley-db comp.databases.berkeley-db


Discuss configure error with util.sig.c on solaris 10 in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
janet.foots@ed.gov
 
Posts: n/a

Default configure error with util.sig.c on solaris 10 - 08-23-2006 , 01:12 PM






I'm building db-3.3.10 on Solaris 10 using GNC CC with local PATH:
/usr/sbin:/usr/bin:/usr/dt/bin:/usr/openwin/bin:/usr/ccs/bin:/usr/local/bin:/usr/ucb

The ../dist/configure completes without errors.
During the make the util.sig.c include /usr/include/sys/signal.h and
/usr/include/signal.h which include /usr/include/sys/siginfo.h - The
errors are with this

Is there are problem compiling db-3.3.10 or db-4.4.20 on solaris 10.
While compiling both version, the same error is displayed.

Here is the error:
/usr/local/bin/gcc -c -I. -I../dist/../include
-I../dist/../include_auto -D_REENTRANT -O ../common/util_sig.c -fPIC
-DPIC -o util_sig.o
In file included from /usr/include/sys/signal.h:34,
from /usr/include/signal.h:26,
from ../common/util_sig.c:17:
/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:292: error: parse error before '}' token
/usr/include/sys/siginfo.h:294: error: parse error before '}' token
/usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
/usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'
/usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
/usr/include/sys/siginfo.h:267: error: previous declaration of
`__fault'
/usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
/usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
/usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
/usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
/usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
/usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
/usr/include/sys/siginfo.h:426: error: parse error before '}' token
/usr/include/sys/siginfo.h:428: error: parse error before '}' token
/usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
/usr/include/sys/siginfo.h:437: error: parse error before '}' token
In file included from /usr/include/signal.h:26,
from ../common/util_sig.c:17:
/usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
In file included from ../common/util_sig.c:17:
/usr/include/signal.h:111: error: parse error before "siginfo_t"
/usr/include/signal.h:113: error: parse error before "siginfo_t"
*** Error code 1
make: Fatal error: Command failed for target `util_sig.lo'


Reply With Quote
  #2  
Old   
janet.foots@ed.gov
 
Posts: n/a

Default Re: configure error with util.sig.c on solaris 10 - 08-23-2006 , 01:48 PM






I found the solution on SUN's website and it worked!!!.

According to "Daniel Peterson", try the following commands :

cd /usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/install-tools
../mkheaders

I executed the above command then restart the Installation:
cd build_unix
make clean
.../dist/configure
make
make install

It works!!!


janet.foots (AT) ed (DOT) gov wrote:
Quote:
I'm building db-3.3.10 on Solaris 10 using GNC CC with local PATH:
/usr/sbin:/usr/bin:/usr/dt/bin:/usr/openwin/bin:/usr/ccs/bin:/usr/local/bin:/usr/ucb

The ../dist/configure completes without errors.
During the make the util.sig.c include /usr/include/sys/signal.h and
/usr/include/signal.h which include /usr/include/sys/siginfo.h - The
errors are with this

Is there are problem compiling db-3.3.10 or db-4.4.20 on solaris 10.
While compiling both version, the same error is displayed.

Here is the error:
/usr/local/bin/gcc -c -I. -I../dist/../include
-I../dist/../include_auto -D_REENTRANT -O ../common/util_sig.c -fPIC
-DPIC -o util_sig.o
In file included from /usr/include/sys/signal.h:34,
from /usr/include/signal.h:26,
from ../common/util_sig.c:17:
/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:292: error: parse error before '}' token
/usr/include/sys/siginfo.h:294: error: parse error before '}' token
/usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
/usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'
/usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
/usr/include/sys/siginfo.h:267: error: previous declaration of
`__fault'
/usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
/usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
/usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
/usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
/usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
/usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
/usr/include/sys/siginfo.h:426: error: parse error before '}' token
/usr/include/sys/siginfo.h:428: error: parse error before '}' token
/usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
/usr/include/sys/siginfo.h:437: error: parse error before '}' token
In file included from /usr/include/signal.h:26,
from ../common/util_sig.c:17:
/usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
In file included from ../common/util_sig.c:17:
/usr/include/signal.h:111: error: parse error before "siginfo_t"
/usr/include/signal.h:113: error: parse error before "siginfo_t"
*** Error code 1
make: Fatal error: Command failed for target `util_sig.lo'


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.