Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* Re: Compaq C and standard GLIBC Headers...
  2005-03-02 22:13 Compaq C and standard GLIBC Headers  DiskMan
@ 2005-03-02 22:13 ` Mathieu Chouquet-Stringer
  2005-03-03  0:38   `  DiskMan
  2005-04-08 21:33 ` Tavis Ormandy
  1 sibling, 1 reply; 11+ messages in thread
From: Mathieu Chouquet-Stringer @ 2005-03-02 22:13 UTC (permalink / raw)


" DiskMan" <nobody@thewheel.com> writes:
> I was wondering, whats the issue with CCC and GLIBC header files. I noticed
> that most of my problems compiling software tend to point to the problem of
> CCC not being able to parse header files or so picky it can't interpret some
> of the formating in said header files.

You can't expect to get glibc to compile cleanly with something else than
gcc...
 
-- 
Mathieu Chouquet-Stringer             
    "Le disparu, si l'on v�n�re sa m�moire, est plus pr�sent et
                 plus puissant que le vivant".
           -- Antoine de Saint-Exup�ry, Citadelle --


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

* Compaq C and standard GLIBC Headers...
@ 2005-03-02 22:13  DiskMan
  2005-03-02 22:13 ` Mathieu Chouquet-Stringer
  2005-04-08 21:33 ` Tavis Ormandy
  0 siblings, 2 replies; 11+ messages in thread
From:  DiskMan @ 2005-03-02 22:13 UTC (permalink / raw)


I was wondering, whats the issue with CCC and GLIBC header files. I noticed
that most of my problems compiling software tend to point to the problem of
CCC not being able to parse header files or so picky it can't interpret some
of the formating in said header files.

Example:
GLIBC-2.1
cc: Error: /usr/alpha-glibc21-linux/include/stdlib.h, line 698: Error
parsing parameter list. Found "*" when expecting one of: ",", ")".
(notexpecting)
extern int mbtowc __P ((wchar_t *__restrict __pwc,
------------------^
cc: Error: /usr/alpha-glibc21-linux/include/stdlib.h, line 702: Ill-formed
parameter type list. (parmtyplist)
extern int wctomb __P ((char *__s, wchar_t __wchar));
------------------^
cc: Error: /usr/alpha-glibc21-linux/include/stdlib.h, line 706: Error
parsing parameter list. Found "*" when expecting one of: ",", ")".
(notexpecting)
extern size_t mbstowcs __P ((wchar_t *__restrict  __pwcs,
-----------------------^
cc: Error: /usr/alpha-glibc21-linux/include/stdlib.h, line 709: Error
parsing parameter list. Found "*" when expecting one of: ",", ")".
(notexpecting)
extern size_t wcstombs __P ((char *__restrict __s,
-----------------------^
cc: Warning: /usr/alpha-glibc21-linux/include/alloca.h, line 33: In this
declaration, parameter 1 has a different type than specified in an earlier
declaration of this function. (mismatparam)
extern __ptr_t alloca __P ((size_t __size));
---------------^
cc: Error: /usr/alpha-glibc21-linux/include/alloca.h, line 33: In this
declaration, the type of "alloca" is not compatible with the type of a
previous declaration of "alloca" at line number 59 in file
../../include/config.h. (notcompat)
extern __ptr_t alloca __P ((size_t __size));
---------------^

I recieve similar errors with GLIBC-2.2.3 and DEFINATELY with GLIBC-2.3.2...
Any tips/hints/ideas, on how to keep CCC from being so damn picky? Will L G




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

* Re: Compaq C and standard GLIBC Headers...
  2005-03-02 22:13 ` Mathieu Chouquet-Stringer
@ 2005-03-03  0:38   `  DiskMan
  2005-03-03  1:05     `  DiskMan
  0 siblings, 1 reply; 11+ messages in thread
From:  DiskMan @ 2005-03-03  0:38 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 965 bytes --]

Oh no, I was trying to compile GLIBC using CCC but when ever I compile
'other' programs and they have references [i.e. #include <sys/time.h>] to
glibc header files, I get all kinds of funky parsing errors and the like.


"Mathieu Chouquet-Stringer" <mchouque_@_online_._fr> wrote in message
news:m3vf89y9vj.fsf@mcs.bigip.mine.nu...
> " DiskMan" <nobody@thewheel.com> writes:
> > I was wondering, whats the issue with CCC and GLIBC header files. I
noticed
> > that most of my problems compiling software tend to point to the problem
of
> > CCC not being able to parse header files or so picky it can't interpret
some
> > of the formating in said header files.
>
> You can't expect to get glibc to compile cleanly with something else than
> gcc...
>
> -- 
> Mathieu Chouquet-Stringer
>     "Le disparu, si l'on v�n�re sa m�moire, est plus pr�sent et
>                  plus puissant que le vivant".
>            -- Antoine de Saint-Exup�ry, Citadelle --




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

* Re: Compaq C and standard GLIBC Headers...
  2005-03-03  0:38   `  DiskMan
@ 2005-03-03  1:05     `  DiskMan
  0 siblings, 0 replies; 11+ messages in thread
From:  DiskMan @ 2005-03-03  1:05 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1075 bytes --]

whoops, correction... "Oh no, I wasn't trying to compile GLIBC..."

Oh no, I was trying to compile GLIBC using CCC but when ever I compile
'other' programs and they have references [i.e. #include <sys/time.h>] to
glibc header files, I get all kinds of funky parsing errors and the like.


> "Mathieu Chouquet-Stringer" <mchouque_@_online_._fr> wrote in message
> news:m3vf89y9vj.fsf@mcs.bigip.mine.nu...
> > " DiskMan" <nobody@thewheel.com> writes:
> > > I was wondering, whats the issue with CCC and GLIBC header files. I
> noticed
> > > that most of my problems compiling software tend to point to the
problem
> of
> > > CCC not being able to parse header files or so picky it can't
interpret
> some
> > > of the formating in said header files.
> >
> > You can't expect to get glibc to compile cleanly with something else
than
> > gcc...
> >
> > -- 
> > Mathieu Chouquet-Stringer
> >     "Le disparu, si l'on v�n�re sa m�moire, est plus pr�sent et
> >                  plus puissant que le vivant".
> >            -- Antoine de Saint-Exup�ry, Citadelle --
>
>




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

* Re: Compaq C and standard GLIBC Headers...
  2005-03-02 22:13 Compaq C and standard GLIBC Headers  DiskMan
  2005-03-02 22:13 ` Mathieu Chouquet-Stringer
@ 2005-04-08 21:33 ` Tavis Ormandy
  2005-04-09  0:25   ` DiskMan
                     ` (2 more replies)
  1 sibling, 3 replies; 11+ messages in thread
From: Tavis Ormandy @ 2005-04-08 21:33 UTC (permalink / raw)


[sorry for late reponse]

" DiskMan" wrote:
> I was wondering, whats the issue with CCC and GLIBC header files.

Do you perhaps need this patch:

http://www.gentoo.org/cgi-bin/viewcvs.cgi/*checkout*/sys-libs/glibc/files/2.3.2/glibc-2.3.2-decc-compaq.patch?rev=1.1

-- 
-------------------------------------
taviso@sdf.lonestar.org | finger me for my gpg key.
-------------------------------------------------------


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

* Re: Compaq C and standard GLIBC Headers...
  2005-04-08 21:33 ` Tavis Ormandy
@ 2005-04-09  0:25   ` DiskMan
  2005-04-09  9:45     ` So far that patch has done the TRICK!!!!  DiskMan
  2005-04-09 17:03   ` Thanks for the patch... I had to manually enter it but hey, it was ONLY 2 files  DiskMan
  2005-04-09 20:10   ` Compaq C and standard GLIBC Headers... [ JUST COMPILED PHP USING CCC]  DiskMan
  2 siblings, 1 reply; 11+ messages in thread
From: DiskMan @ 2005-04-09  0:25 UTC (permalink / raw)


Thanks, I'm going to give that  a shot and see what happens... I knew
there had to be some sort of 'fix' for this, the number of header errors
is pretty wild... Almost nothing compiles if it makes one too many calls
on GLIBC headers.  Again, THANX Will L G

On Fri, 08 Apr 2005 21:33:31 +0000, Tavis Ormandy wrote:

> [sorry for late reponse]
> 
> " DiskMan" wrote:
>> I was wondering, whats the issue with CCC and GLIBC header files.
> 
> Do you perhaps need this patch:
> 
> http://www.gentoo.org/cgi-bin/viewcvs.cgi/*checkout*/sys-libs/glibc/files/2.3.2/glibc-2.3.2-decc-compaq.patch?rev=1.1



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

* So far that patch has done the TRICK!!!!
  2005-04-09  0:25   ` DiskMan
@ 2005-04-09  9:45     `  DiskMan
  0 siblings, 0 replies; 11+ messages in thread
From:  DiskMan @ 2005-04-09  9:45 UTC (permalink / raw)


So far, I was goofing around compiling some simple programs and have yet to
get a glibc header error... as far as I'm concerned, YOU ARE D'MAN! Thanks
Will L G

"DiskMan" <nobody@thewheel.com> wrote in message
news:pan.2005.04.09.00.25.10.67294@thewheel.com...
> Thanks, I'm going to give that  a shot and see what happens... I knew
> there had to be some sort of 'fix' for this, the number of header errors
> is pretty wild... Almost nothing compiles if it makes one too many calls
> on GLIBC headers.  Again, THANX Will L G
>
> On Fri, 08 Apr 2005 21:33:31 +0000, Tavis Ormandy wrote:
>
> > [sorry for late reponse]
> >
> > " DiskMan" wrote:
> >> I was wondering, whats the issue with CCC and GLIBC header files.
> >
> > Do you perhaps need this patch:
> >
> >
http://www.gentoo.org/cgi-bin/viewcvs.cgi/*checkout*/sys-libs/glibc/files/2.3.2/glibc-2.3.2-decc-compaq.patch?rev=1.1
>




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

* Thanks for the patch... I had to manually enter it but hey, it was ONLY 2 files...
  2005-04-08 21:33 ` Tavis Ormandy
  2005-04-09  0:25   ` DiskMan
@ 2005-04-09 17:03   `  DiskMan
  2005-04-09 20:10   ` Compaq C and standard GLIBC Headers... [ JUST COMPILED PHP USING CCC]  DiskMan
  2 siblings, 0 replies; 11+ messages in thread
From:  DiskMan @ 2005-04-09 17:03 UTC (permalink / raw)


Man that patch is a DEFINATE plus... I tried it out on a couple of programs
and I knew it was going to do the trick when the config scripts didn't balk
about 'header present but cannot be used'!!! Thanks... Will L G

"Tavis Ormandy" <taviso@sdf.lonestar.org> wrote in message
news:d36tbb$jgr$1@newsg3.svr.pol.co.uk...
> [sorry for late reponse]
>
> " DiskMan" wrote:
> > I was wondering, whats the issue with CCC and GLIBC header files.
>
> Do you perhaps need this patch:
>
>
http://www.gentoo.org/cgi-bin/viewcvs.cgi/*checkout*/sys-libs/glibc/files/2.3.2/glibc-2.3.2-decc-compaq.patch?rev=1.1
>
> -- 
> -------------------------------------
> taviso@sdf.lonestar.org | finger me for my gpg key.
> -------------------------------------------------------




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

* Re: Compaq C and standard GLIBC Headers... [ JUST COMPILED PHP USING CCC]
  2005-04-08 21:33 ` Tavis Ormandy
  2005-04-09  0:25   ` DiskMan
  2005-04-09 17:03   ` Thanks for the patch... I had to manually enter it but hey, it was ONLY 2 files  DiskMan
@ 2005-04-09 20:10   `  DiskMan
  2005-04-09 20:54     ` Tavis Ormandy
  2 siblings, 1 reply; 11+ messages in thread
From:  DiskMan @ 2005-04-09 20:10 UTC (permalink / raw)


Well I finally managed to get one of my all time desires completed...
Compiling the ol'resource hog PHP!!! This mutha runs like a bear... Before I
was 'thinking' of redoing my site in PHP but PHP wasn't exactly mind blowing
when it came to speed. If you kept the pages simple it was fine but database
accessing and the like took a while... CCC has turned PHP in to a veritable
MONSTER... Thanks... Will L G

PS One thing that gets me, if the solution was so simple [editing two
lines], how come it took so long for someone to come up with it and why
didn't someone come up with it when GLIBC-2.2.1 was out [about 6yrs or so
ago]? Will L G

"Tavis Ormandy" <taviso@sdf.lonestar.org> wrote in message
news:d36tbb$jgr$1@newsg3.svr.pol.co.uk...
> [sorry for late reponse]
>
> " DiskMan" wrote:
> > I was wondering, whats the issue with CCC and GLIBC header files.
>
> Do you perhaps need this patch:
>
>
http://www.gentoo.org/cgi-bin/viewcvs.cgi/*checkout*/sys-libs/glibc/files/2.3.2/glibc-2.3.2-decc-compaq.patch?rev=1.1
>
> -- 
> -------------------------------------
> taviso@sdf.lonestar.org | finger me for my gpg key.
> -------------------------------------------------------




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

* Re: Compaq C and standard GLIBC Headers... [ JUST COMPILED PHP USING CCC]
  2005-04-09 20:10   ` Compaq C and standard GLIBC Headers... [ JUST COMPILED PHP USING CCC]  DiskMan
@ 2005-04-09 20:54     ` Tavis Ormandy
  2005-04-10  0:35       `  DiskMan
  0 siblings, 1 reply; 11+ messages in thread
From: Tavis Ormandy @ 2005-04-09 20:54 UTC (permalink / raw)


On 2005-04-09,  DiskMan <nobody@thewheel.com> wrote:
> PS One thing that gets me, if the solution was so simple [editing two
> lines], how come it took so long for someone to come up with it and why
> didn't someone come up with it when GLIBC-2.2.1 was out [about 6yrs or so
> ago]? Will L G
>

I wish I knew ;)

I've sent the patch upstream (about 2 years ago), once directly and once via
George France (HP's redhat maintainer), they've accepted patches for icc 
(intel's proprietary compiler) but not ccc/cxx...

Anyway, glad you got it working :)

-- 
-------------------------------------
taviso@sdf.lonestar.org | finger me for my gpg key.
-------------------------------------------------------


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

* Re: Compaq C and standard GLIBC Headers... [ JUST COMPILED PHP USING CCC]
  2005-04-09 20:54     ` Tavis Ormandy
@ 2005-04-10  0:35       `  DiskMan
  0 siblings, 0 replies; 11+ messages in thread
From:  DiskMan @ 2005-04-10  0:35 UTC (permalink / raw)


They accepted it for 'Intel', now thats a little odd... Especially
considering Compaq/HP started pushing Intel CPU's and the like... Then later
sold it to... *drumroll* Intel...

Thanks for the patch, I was having this problem for sometime and the
GLIBC-2.2.1 headers were only slightly better in that regard...

I can understand to a certain degree. Example, I went to install
Firefox-1.0.2 [compiled with GCC]. I was literally installing patches going
all the way back to 1999 to fix 'bugs' that should have been patched years
ago. And you want to know wild thing, if you go to buzgilla.mozilla.org and
submit a bugreport... they tell you its 'already' been patched !?!?!

Thanks for pointing me in the right direction. I was thinking of getting in
to ANSI C programming but since i was having so many issues with CCC I felt
it probably wasn't a good idea ;-) Now I'm having second thoughts. I would
LOVE to be able to port my favorite programs to be compatible with CCC...
I'm not kidding. I ran into a guy that did that with KDE-3.0.3.
ftp://finwds01.tu-graz.ac.at/pub/kde/tru64/3.0.3

I assume you're a programmer, to be able to back trace a problem like that
takes some brain power. Out of all the people I asked, you were the ONLY one
to have the answer *hehehe*

You don't know how happy I am to get this running... Again thank you... Will
L G

"Tavis Ormandy" <taviso@sdf.lonestar.org> wrote in message
news:d39fe5$hrl$1@news8.svr.pol.co.uk...
> On 2005-04-09,  DiskMan <nobody@thewheel.com> wrote:
> > PS One thing that gets me, if the solution was so simple [editing two
> > lines], how come it took so long for someone to come up with it and why
> > didn't someone come up with it when GLIBC-2.2.1 was out [about 6yrs or
so
> > ago]? Will L G
> >
>
> I wish I knew ;)
>
> I've sent the patch upstream (about 2 years ago), once directly and once
via
> George France (HP's redhat maintainer), they've accepted patches for icc
> (intel's proprietary compiler) but not ccc/cxx...
>
> Anyway, glad you got it working :)
>
> -- 
> -------------------------------------
> taviso@sdf.lonestar.org | finger me for my gpg key.
> -------------------------------------------------------




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

end of thread, other threads:[~2005-04-10  0:35 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-02 22:13 Compaq C and standard GLIBC Headers  DiskMan
2005-03-02 22:13 ` Mathieu Chouquet-Stringer
2005-03-03  0:38   `  DiskMan
2005-03-03  1:05     `  DiskMan
2005-04-08 21:33 ` Tavis Ormandy
2005-04-09  0:25   ` DiskMan
2005-04-09  9:45     ` So far that patch has done the TRICK!!!!  DiskMan
2005-04-09 17:03   ` Thanks for the patch... I had to manually enter it but hey, it was ONLY 2 files  DiskMan
2005-04-09 20:10   ` Compaq C and standard GLIBC Headers... [ JUST COMPILED PHP USING CCC]  DiskMan
2005-04-09 20:54     ` Tavis Ormandy
2005-04-10  0:35       `  DiskMan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox