public inbox for gnats-prs@sourceware.org
help / color / mirror / Atom feed
* Re: gnats/329: Cannot compile gnats cvs as of 020115 on SunOS 5.7
@ 2002-02-09 13:47 Yngve Svendsen
  2002-02-09 13:59 ` Carl-Johan Sveningsson
  0 siblings, 1 reply; 7+ messages in thread
From: Yngve Svendsen @ 2002-02-09 13:47 UTC (permalink / raw)
  To: Lars-Erik.Stacke, gnats-prs, pdm-gnats, woc

I get the same error with GCC 2.95.2 on both Solaris 7 and 8.

With Sun Forte CC on Solaris 8, I get the following:

cc -c -I. -I. -I./../include  -g -Dconst=    -DHAVE_CONFIG_H 
-DGNATSD_USER_ACCESS_FILE=\"/usr/local/etc/gnats/gnatsd.access\" 
-DGNATSD_HOST_ACCESS_FILE=\"/usr/local/etc/gnats/gnatsd.host_access\" 
-DDEFAULT_GNATS_SERVICE=\"support\" 
-DGLOBAL_DB_LIST_FILE=\"/usr/local/etc/gnats/databases\" 
-DGNATS_USER=\"gnats\" edit.c
"./query.h", line 84: identifier redeclared: regcmp
         current : function(pointer to char, pointer to char, pointer to 
struct re_pattern_buffer {}) returning int
         previous: function(pointer to char, ...) returning pointer to char 
: "/usr/include/libgen.h", line 40
cc: acomp failed for edit.c
gmake[1]: *** [edit.o] Error 2


Yngve Svendsen
Senior IS Engineer
Clustra Systems Inc.
yngve.svendsen@clustra.com


_______________________________________________
Gnats-prs mailing list
Gnats-prs@gnu.org
http://mail.gnu.org/mailman/listinfo/gnats-prs


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: gnats/329: Cannot compile gnats cvs as of 020115 on SunOS  5.7
  2002-02-09 13:47 gnats/329: Cannot compile gnats cvs as of 020115 on SunOS 5.7 Yngve Svendsen
@ 2002-02-09 13:59 ` Carl-Johan Sveningsson
  2002-02-09 14:02   ` Yngve Svendsen
  0 siblings, 1 reply; 7+ messages in thread
From: Carl-Johan Sveningsson @ 2002-02-09 13:59 UTC (permalink / raw)
  To: Yngve Svendsen; +Cc: Lars-Erik.Stacke, gnats-prs, pdm-gnats

We had lots of problems with that - though when reversing to the just 
pre-4 official release (gnats-3.999.1), compatible with gnat4, everything 
seemed to compile nicely. Still don't know what might have been wrong with 
cvs though, some to quick hacking it seemed, made it conflict with some 
libgen's...

/Carl-Johan

On Sat, 9 Feb 2002, Yngve Svendsen wrote:

> I get the same error with GCC 2.95.2 on both Solaris 7 and 8.
> 
> With Sun Forte CC on Solaris 8, I get the following:
> 
> cc -c -I. -I. -I./../include  -g -Dconst=    -DHAVE_CONFIG_H 
> -DGNATSD_USER_ACCESS_FILE=\"/usr/local/etc/gnats/gnatsd.access\" 
> -DGNATSD_HOST_ACCESS_FILE=\"/usr/local/etc/gnats/gnatsd.host_access\" 
> -DDEFAULT_GNATS_SERVICE=\"support\" 
> -DGLOBAL_DB_LIST_FILE=\"/usr/local/etc/gnats/databases\" 
> -DGNATS_USER=\"gnats\" edit.c
> "./query.h", line 84: identifier redeclared: regcmp
>          current : function(pointer to char, pointer to char, pointer to 
> struct re_pattern_buffer {}) returning int
>          previous: function(pointer to char, ...) returning pointer to char 
> : "/usr/include/libgen.h", line 40
> cc: acomp failed for edit.c
> gmake[1]: *** [edit.o] Error 2
> 
> 
> Yngve Svendsen
> Senior IS Engineer
> Clustra Systems Inc.
> yngve.svendsen@clustra.com
> 

-- 

(John Gilmore): "The Net interprets censorship as damage and routes
 around it."

       ICQ# 2357535
    http://come.to/woc/
   http://wlug.westbo.se/


_______________________________________________
Gnats-prs mailing list
Gnats-prs@gnu.org
http://mail.gnu.org/mailman/listinfo/gnats-prs


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: gnats/329: Cannot compile gnats cvs as of 020115 on SunOS  5.7
  2002-02-09 13:59 ` Carl-Johan Sveningsson
@ 2002-02-09 14:02   ` Yngve Svendsen
  2002-02-09 14:05     ` Carl-Johan Sveningsson
  2002-02-10 10:30     ` Milan Zamazal
  0 siblings, 2 replies; 7+ messages in thread
From: Yngve Svendsen @ 2002-02-09 14:02 UTC (permalink / raw)
  To: Carl-Johan Sveningsson; +Cc: Lars-Erik.Stacke, gnats-prs, pdm-gnats

At 22:52 09.02.2002 +0100, Carl-Johan Sveningsson wrote:
>We had lots of problems with that - though when reversing to the just
>pre-4 official release (gnats-3.999.1), compatible with gnat4, everything
>seemed to compile nicely. Still don't know what might have been wrong with
>cvs though, some to quick hacking it seemed, made it conflict with some
>libgen's...

Yes, and the change which caused this is the following:

2002-01-06  Milan Zamazal  <pdm@zamazal.org>
         * gnats.h: Include libgen.h if available; fixes PR gnats/319;
         patch by Noritoshi Demizu <demizu@dd.iij4u.or.jp>.

I hope Milan can find the time to fix it soon.

- Yngve


_______________________________________________
Gnats-prs mailing list
Gnats-prs@gnu.org
http://mail.gnu.org/mailman/listinfo/gnats-prs


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: gnats/329: Cannot compile gnats cvs as of 020115 on SunOS   5.7
  2002-02-09 14:02   ` Yngve Svendsen
@ 2002-02-09 14:05     ` Carl-Johan Sveningsson
  2002-02-10 10:30     ` Milan Zamazal
  1 sibling, 0 replies; 7+ messages in thread
From: Carl-Johan Sveningsson @ 2002-02-09 14:05 UTC (permalink / raw)
  To: Yngve Svendsen; +Cc: gnats-prs, pdm-gnats

Confirmed - I found that out too. Just know to little C and lib-stuff to 
fix it myself it seemed.

/Carl-Johan

On Sat, 9 Feb 2002, Yngve Svendsen wrote:

> At 22:52 09.02.2002 +0100, Carl-Johan Sveningsson wrote:
> >We had lots of problems with that - though when reversing to the just
> >pre-4 official release (gnats-3.999.1), compatible with gnat4, everything
> >seemed to compile nicely. Still don't know what might have been wrong with
> >cvs though, some to quick hacking it seemed, made it conflict with some
> >libgen's...
> 
> Yes, and the change which caused this is the following:
> 
> 2002-01-06  Milan Zamazal  <pdm@zamazal.org>
>          * gnats.h: Include libgen.h if available; fixes PR gnats/319;
>          patch by Noritoshi Demizu <demizu@dd.iij4u.or.jp>.
> 
> I hope Milan can find the time to fix it soon.
> 
> - Yngve
> 

-- 

(John Gilmore): "The Net interprets censorship as damage and routes
 around it."

       ICQ# 2357535
    http://come.to/woc/
   http://wlug.westbo.se/


_______________________________________________
Gnats-prs mailing list
Gnats-prs@gnu.org
http://mail.gnu.org/mailman/listinfo/gnats-prs


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: gnats/329: Cannot compile gnats cvs as of 020115 on SunOS  5.7
  2002-02-09 14:02   ` Yngve Svendsen
  2002-02-09 14:05     ` Carl-Johan Sveningsson
@ 2002-02-10 10:30     ` Milan Zamazal
  2002-02-10 11:14       ` Yngve Svendsen
  1 sibling, 1 reply; 7+ messages in thread
From: Milan Zamazal @ 2002-02-10 10:30 UTC (permalink / raw)
  To: Yngve Svendsen; +Cc: Carl-Johan Sveningsson, Lars-Erik.Stacke, gnats-prs

>>>>> "YS" == Yngve Svendsen <yngve.svendsen@clustra.com> writes:

    YS> Yes, and the change which caused this is the following:

    YS> 2002-01-06 Milan Zamazal <pdm@zamazal.org> * gnats.h: Include
    YS> libgen.h if available; fixes PR gnats/319; patch by Noritoshi
    YS> Demizu <demizu@dd.iij4u.or.jp>.

    YS> I hope Milan can find the time to fix it soon.

`regcmp' was just a GNATS' function, so I renamed it to `gnats_regcmp'
and the problem should be gone.

Thanks for additional information.

Regards,

Milan Zamazal

-- 
http://www.zamazal.org

_______________________________________________
Gnats-prs mailing list
Gnats-prs@gnu.org
http://mail.gnu.org/mailman/listinfo/gnats-prs


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: gnats/329: Cannot compile gnats cvs as of 020115 on SunOS  5.7
  2002-02-10 10:30     ` Milan Zamazal
@ 2002-02-10 11:14       ` Yngve Svendsen
  0 siblings, 0 replies; 7+ messages in thread
From: Yngve Svendsen @ 2002-02-10 11:14 UTC (permalink / raw)
  To: Milan Zamazal; +Cc: Carl-Johan Sveningsson, Lars-Erik.Stacke, gnats-prs

At 19:17 10.02.2002 +0100, Milan Zamazal wrote:
>`regcmp' was just a GNATS' function, so I renamed it to `gnats_regcmp'
>and the problem should be gone.

Works just right. Thanks,

- Yngve


_______________________________________________
Gnats-prs mailing list
Gnats-prs@gnu.org
http://mail.gnu.org/mailman/listinfo/gnats-prs


^ permalink raw reply	[flat|nested] 7+ messages in thread

* gnats/329: Cannot compile gnats cvs as of 020115 on SunOS 5.7
@ 2002-01-15  2:24 woc
  0 siblings, 0 replies; 7+ messages in thread
From: woc @ 2002-01-15  2:24 UTC (permalink / raw)
  To: pdm-gnats, gnats-prs, bug-gnats

>Number:         329
>Category:       gnats
>Synopsis:       Cannot compile gnats cvs as of 020115 on SunOS 5.7
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 15 05:23:19 -0500 2002
>Originator:     Carl-Johan Sveningsson
>Release:        cvs-020115
>Organization:
SKF
>Environment:
uname -a:
SunOS gotx53 5.7 Generic_106541-10 sun4u sparc SUNW,Ultra-4

gcc -v:
gcc version 2.8.1


>Description:
Compilation of gnats/query.h dies due to:
/usr/include/libgen.h:40: previous declaration of `regcmp'
>How-To-Repeat:

>Fix:
Unknown
>Unformatted:
 

_______________________________________________
Gnats-prs mailing list
Gnats-prs@gnu.org
http://mail.gnu.org/mailman/listinfo/gnats-prs


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-02-10 19:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-09 13:47 gnats/329: Cannot compile gnats cvs as of 020115 on SunOS 5.7 Yngve Svendsen
2002-02-09 13:59 ` Carl-Johan Sveningsson
2002-02-09 14:02   ` Yngve Svendsen
2002-02-09 14:05     ` Carl-Johan Sveningsson
2002-02-10 10:30     ` Milan Zamazal
2002-02-10 11:14       ` Yngve Svendsen
  -- strict thread matches above, loose matches on Subject: below --
2002-01-15  2:24 woc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).