bugfastjar - Bugs: bug #18986, ftfbs on sparc-solaris9 using CC

 
 

bug #18986: ftfbs on sparc-solaris9 using CC

Submitted by:  Dalibor Topic <robilad>
Submitted on:  Wed 07 Feb 2007 03:55:46 PM UTC  
 
Category: NoneSeverity: 4 - Important
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 07 Feb 2007 05:20:36 PM UTC, comment #1:

fixed by importing stdbool from gnulib.

Dalibor Topic <robilad>
Project Administrator
Wed 07 Feb 2007 03:55:46 PM UTC, original submission:

while trying to biuld the current fastjar (on savannah.nongnu.org) CVS head on sparc-solaris-2.9 using Sun CC, I noticed that the build fails with

cc -DHAVE_CONFIG_H -I. -I.. -g -c regex.c -KPIC -DPIC -o .libs/regex.o
"./regex_internal.h", line 25: cannot find include file: <stdbool.h>
"./regex_internal.h", line 749: undefined or not a type: bool
"./regex_internal.h", line 749: syntax error before or at: bitset_contain
"./regex_internal.c", line 23: syntax error before or at: bool
"./regex_internal.c", line 23: warning: undefined or missing type for: bool
"./regex_internal.c", line 24: warning: undefined or missing type for: const
"./regex_internal.c", line 41: syntax error before or at: bool
"./regex_internal.c", line 41: warning: undefined or missing type for: bool
"./regex_internal.c", line 41: warning: undefined or missing type for: const
"./regex_internal.c", line 47: undefined symbol: dfa
"./regex_internal.c", line 47: non-unique member requires struct/union pointer: mb_cur_max
"./regex_internal.c", line 47: left operand of "->" must be pointer to struct/union
"./regex_internal.c", line 48: non-unique member requires struct/union pointer: mb_cur_max
"./regex_internal.c", line 48: left operand of "->" must be pointer to struct/union
"./regex_internal.c", line 50: undefined symbol: icase
"./regex_internal.c", line 56: non-unique member requires struct/union pointer: word_char
"./regex_internal.c", line 56: left operand of "->" must be pointer to struct/union
"./regex_internal.c", line 57: non-unique member requires struct/union pointer: word_ops_used
"./regex_internal.c", line 57: left operand of "->" must be pointer to struct/union
"./regex_internal.c", line 59: non-unique member requires struct/union pointer: mb_cur_max
"./regex_internal.c", line 59: left operand of "->" must be pointer to struct/union
"./regex_internal.c", line 69: syntax error before or at: bool
"./regex_internal.c", line 69: warning: undefined or missing type for: bool
"./regex_internal.c", line 69: warning: undefined or missing type for: const
"./regex_internal.c", line 73: undefined symbol: icase
"./regex_internal.c", line 73: undefined symbol: dfa
"./regex_internal.c", line 86: non-unique member requires struct/union pointer: mb_cur_max
"./regex_internal.c", line 86: left operand of "->" must be pointer to struct/union
"./regex_internal.c", line 95: non-unique member requires struct/union pointer: mb_cur_max
"./regex_internal.c", line 95: left operand of "->" must be pointer to struct/union
"./regex_internal.c", line 109: non-unique member requires struct/union pointer: mb_cur_max
"./regex_internal.c", line 109: left operand of "->" must be pointer to struct/union
"./regex_internal.c", line 172: syntax error before or at: bool
"./regex_internal.c", line 172: warning: undefined or missing type for: bool
"./regex_internal.c", line 173: warning: undefined or missing type for: const
"./regex_internal.c", line 179: undefined symbol: icase
"./regex_internal.c", line 181: undefined symbol: dfa
"./regex_internal.c", line 181: non-unique member requires struct/union pointer: mb_cur_max
"./regex_internal.c", line 181: left operand of "->" must be pointer to struct/union
"./regex_internal.c", line 182: non-unique member requires struct/union pointer: is_utf8
"./regex_internal.c", line 182: left operand of "->" must be pointer to struct/union
"./regex_internal.c", line 183: non-unique member requires struct/union pointer: map_notascii
"./regex_internal.c", line 183: left operand of "->" must be pointer to struct/union
"./regex_internal.c", line 830: cannot recover from previous errors
cc: acomp failed for regex.c
gmake[3]: *** [regex.lo] Error 1
gmake[3]: Leaving directory `/tmp/topic/fastjar-0.95-pre/lib'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/tmp/topic/fastjar-0.95-pre/lib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tmp/topic/fastjar-0.95-pre'
gmake: *** [all] Error 2

which seems to indicate that the regex module should depend on the stdbool module.

Dalibor Topic <robilad>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by robilad (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 07 Feb 2007 05:20:36 PM UTCrobiladOpen/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1