public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* GCC Build
@ 2000-02-04  9:31                     ` Gregory P. Sherwood
  2000-02-06 19:06                       ` Alexandre Oliva
  2000-04-01  0:00                       ` Gregory P. Sherwood
  0 siblings, 2 replies; 15+ messages in thread
From: Gregory P. Sherwood @ 2000-02-04  9:31 UTC (permalink / raw)
  To: gcc-help

I'm trying to build (make bootstrap)  GCC 2.95.2 & keep getting the 
following error:

   -c `echo /usr/local/src/gcc-2.95.2/gcc/cccp.c | sed 's,^\./,,'`
In file included from /usr/local/src/gcc-2.95.2/gcc/cccp.c:21:
config.h:8: /usr/local/gnu/xm-.h: No such file or directory
make[1]: *** [cccp.o] Error 1
make[1]: Leaving directory `/usr/local/gnu/gcc'
make: *** [all-gcc] Error 2

It looks like the process is trying to find files actually located in
   /usr/local/src/gcc-2.95.2/gcc/config/

Any ideas would be greatly appreciated.

Cheers,
   Greg

http://www.talarian.com


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

* Re: GCC Build
  2000-02-04  9:31                     ` GCC Build Gregory P. Sherwood
@ 2000-02-06 19:06                       ` Alexandre Oliva
  2000-02-07  9:20                         ` Gregory P. Sherwood
  2000-04-01  0:00                         ` Alexandre Oliva
  2000-04-01  0:00                       ` Gregory P. Sherwood
  1 sibling, 2 replies; 15+ messages in thread
From: Alexandre Oliva @ 2000-02-06 19:06 UTC (permalink / raw)
  To: Gregory P. Sherwood; +Cc: gcc-help

On Feb  4, 2000, "Gregory P. Sherwood" <Greg.Sherwood@talarian.com> wrote:

> config.h:8: /usr/local/gnu/xm-.h: No such file or directory

Looks like something went wrong with `configure'.  What's the target
platform you've configured for?

-- 
Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them

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

* Re: GCC Build
  2000-02-06 19:06                       ` Alexandre Oliva
@ 2000-02-07  9:20                         ` Gregory P. Sherwood
  2000-04-01  0:00                           ` Gregory P. Sherwood
  2000-04-01  0:00                         ` Alexandre Oliva
  1 sibling, 1 reply; 15+ messages in thread
From: Gregory P. Sherwood @ 2000-02-07  9:20 UTC (permalink / raw)
  To: Alexandre Oliva; +Cc: gcc-help

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

I think I had something screwed up in my default path, load library path
or something with the "--prefix" option when I ran the
configure.  I redid it & it worked fine.

Thanks for getting back to me.

Cheers,
  Greg

****************************************************************
Gregory P.
Sherwood                        
Talarian Corporation
Webmaster                                  
333 Distel Circle
Email:
Greg.Sherwood@talarian.com          
Los Altos, CA 94022
                                    http://www.talarian.com
Voice: 650.965.8050 x:162  Fax: 650.965.9077  Page:
888.732.4398
****************************************************************


At 2/7/00 01:06 AM, Alexandre Oliva wrote:
On Feb  4, 2000, "Gregory P.
Sherwood" <Greg.Sherwood@talarian.com> wrote:

> config.h:8: /usr/local/gnu/xm-.h: No such file or directory

Looks like something went wrong with `configure'.  What's the
target
platform you've configured for?

-- 
Alexandre Oliva
http://www.ic.unicamp.br/~oliva
IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them


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

* GCC Build
  2000-02-04  9:31                     ` GCC Build Gregory P. Sherwood
  2000-02-06 19:06                       ` Alexandre Oliva
@ 2000-04-01  0:00                       ` Gregory P. Sherwood
  1 sibling, 0 replies; 15+ messages in thread
From: Gregory P. Sherwood @ 2000-04-01  0:00 UTC (permalink / raw)
  To: gcc-help

I'm trying to build (make bootstrap)  GCC 2.95.2 & keep getting the 
following error:

   -c `echo /usr/local/src/gcc-2.95.2/gcc/cccp.c | sed 's,^\./,,'`
In file included from /usr/local/src/gcc-2.95.2/gcc/cccp.c:21:
config.h:8: /usr/local/gnu/xm-.h: No such file or directory
make[1]: *** [cccp.o] Error 1
make[1]: Leaving directory `/usr/local/gnu/gcc'
make: *** [all-gcc] Error 2

It looks like the process is trying to find files actually located in
   /usr/local/src/gcc-2.95.2/gcc/config/

Any ideas would be greatly appreciated.

Cheers,
   Greg

http://www.talarian.com


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

* Re: GCC Build
  2000-02-07  9:20                         ` Gregory P. Sherwood
@ 2000-04-01  0:00                           ` Gregory P. Sherwood
  0 siblings, 0 replies; 15+ messages in thread
From: Gregory P. Sherwood @ 2000-04-01  0:00 UTC (permalink / raw)
  To: Alexandre Oliva; +Cc: gcc-help

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

I think I had something screwed up in my default path, load library path
or something with the "--prefix" option when I ran the
configure.  I redid it & it worked fine.

Thanks for getting back to me.

Cheers,
  Greg

****************************************************************
Gregory P.
Sherwood                        
Talarian Corporation
Webmaster                                  
333 Distel Circle
Email:
Greg.Sherwood@talarian.com          
Los Altos, CA 94022
                                    http://www.talarian.com
Voice: 650.965.8050 x:162  Fax: 650.965.9077  Page:
888.732.4398
****************************************************************


At 2/7/00 01:06 AM, Alexandre Oliva wrote:
On Feb  4, 2000, "Gregory P.
Sherwood" <Greg.Sherwood@talarian.com> wrote:

> config.h:8: /usr/local/gnu/xm-.h: No such file or directory

Looks like something went wrong with `configure'.  What's the
target
platform you've configured for?

-- 
Alexandre Oliva
http://www.ic.unicamp.br/~oliva
IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them


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

* Re: GCC Build
  2000-02-06 19:06                       ` Alexandre Oliva
  2000-02-07  9:20                         ` Gregory P. Sherwood
@ 2000-04-01  0:00                         ` Alexandre Oliva
  1 sibling, 0 replies; 15+ messages in thread
From: Alexandre Oliva @ 2000-04-01  0:00 UTC (permalink / raw)
  To: Gregory P. Sherwood; +Cc: gcc-help

On Feb  4, 2000, "Gregory P. Sherwood" <Greg.Sherwood@talarian.com> wrote:

> config.h:8: /usr/local/gnu/xm-.h: No such file or directory

Looks like something went wrong with `configure'.  What's the target
platform you've configured for?

-- 
Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them

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

* gnu gcc in BSDI 4.0.1
@ 2000-07-28  0:03                     ` assakhof
  2000-07-28  0:09                       ` Alexandre Oliva
  0 siblings, 1 reply; 15+ messages in thread
From: assakhof @ 2000-07-28  0:03 UTC (permalink / raw)
  To: gcc-help

Hi,

I got this error when building gnu-gcc in BSDI 4.0.1.

fini.o: In function `main':
/var/src/gcc-2.95.2/gcc/f/fini.c:318: undefined reference to `__eprintf'
fini.o: In function `testname':
/var/src/gcc-2.95.2/gcc/f/fini.c:638: undefined reference to `__eprintf'
/var/src/gcc-2.95.2/gcc/f/fini.c:639: undefined reference to `__eprintf'
fini.o: In function `testnames':
/var/src/gcc-2.95.2/gcc/f/fini.c:712: undefined reference to `__eprintf'
/var/src/gcc-2.95.2/gcc/f/fini.c:713: undefined reference to `__eprintf'
make[2]: *** [fini] Error 1
make[2]: Leaving directory `/var/src/gcc_obj/gcc/f'
make[1]: *** [f771] Error 2
make[1]: Leaving directory `/var/src/gcc_obj/gcc'
make: *** [all-gcc] Error 2


Anybody 've an idea to solve this ?

Thanks in advance,

--assakhof

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

* Re: gnu gcc in BSDI 4.0.1
  2000-07-28  0:03                     ` gnu gcc in BSDI 4.0.1 assakhof
@ 2000-07-28  0:09                       ` Alexandre Oliva
  2000-07-28  5:50                         ` assakhof
  0 siblings, 1 reply; 15+ messages in thread
From: Alexandre Oliva @ 2000-07-28  0:09 UTC (permalink / raw)
  To: assakhof; +Cc: gcc-help

On Jul 28, 2000, assakhof <assakhof@mimos.my> wrote:

> /var/src/gcc-2.95.2/gcc/f/fini.c:713: undefined reference to `__eprintf'

> Anybody 've an idea to solve this ?

Try `make bootstrap', in case you didn't, as per the installation
instructions.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

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

* Re: gnu gcc in BSDI 4.0.1
  2000-07-28  0:09                       ` Alexandre Oliva
@ 2000-07-28  5:50                         ` assakhof
  2000-07-28  6:00                           ` Alexandre Oliva
  0 siblings, 1 reply; 15+ messages in thread
From: assakhof @ 2000-07-28  5:50 UTC (permalink / raw)
  To: gcc-help

At 04:09 AM 7/28/2000 -0300, Alexandre Oliva wrote:
>On Jul 28, 2000, assakhof <assakhof@mimos.my> wrote:
>
> > /var/src/gcc-2.95.2/gcc/f/fini.c:713: undefined reference to `__eprintf'
>
> > Anybody 've an idea to solve this ?
>
>Try `make bootstrap', in case you didn't, as per the installation
>instructions.

I've tried that too. I got this error message:

---8<---- snip --

/var/tmp/ccVb72jg.s: Assembler messages:
/var/tmp/ccVb72jg.s:121: Error: Alignment not a power of 2
make[2]: *** [libgcc2.a] Error 1
make[2]: Leaving directory `/var/src/gcc_obj/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/var/src/gcc_obj/gcc'
make: *** [bootstrap] Error 2

Do I need to install GNU binutils ?

Rgds,

--assakhof

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

* Re: gnu gcc in BSDI 4.0.1
  2000-07-28  5:50                         ` assakhof
@ 2000-07-28  6:00                           ` Alexandre Oliva
  2000-07-28 18:05                             ` assakhof
  0 siblings, 1 reply; 15+ messages in thread
From: Alexandre Oliva @ 2000-07-28  6:00 UTC (permalink / raw)
  To: assakhof; +Cc: gcc-help

On Jul 28, 2000, assakhof <assakhof@mimos.my> wrote:

> /var/tmp/ccVb72jg.s:121: Error: Alignment not a power of 2

Incompatibility between GCC and the assembler.  Which assembler are
you using?

> Do I need to install GNU binutils ?

Maybe.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

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

* Re: gnu gcc in BSDI 4.0.1
  2000-07-28  6:00                           ` Alexandre Oliva
@ 2000-07-28 18:05                             ` assakhof
  2000-07-29 10:51                               ` Alexandre Oliva
  0 siblings, 1 reply; 15+ messages in thread
From: assakhof @ 2000-07-28 18:05 UTC (permalink / raw)
  To: gcc-help

At 10:00 AM 7/28/2000 -0300, Alexandre Oliva wrote:
>On Jul 28, 2000, assakhof <assakhof@mimos.my> wrote:
>
> > /var/tmp/ccVb72jg.s:121: Error: Alignment not a power of 2
>
>Incompatibility between GCC and the assembler.  Which assembler are
>you using?

# as -V
GNU assembler version 2.8.1 (bsd/os), using BFD version 2.8.1

> > Do I need to install GNU binutils ?
>
>Maybe.

I get binutils-2.10, so I decide to install it. But then I got this error 
(during binutils installation):

trad-core.c: In function `trad_unix_core_file_p':
trad-core.c:188: `USRSTACK' undeclared (first use this function)
trad-core.c:188: (Each undeclared identifier is reported only once
trad-core.c:188: for each function it appears in.)
make[3]: *** [trad-core.lo] Error 1
make[3]: Leaving directory `/var/src/binutils-2.10/bfd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/src/binutils-2.10/bfd'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/var/src/binutils-2.10/bfd'
make: *** [all-bfd] Error 2

But there were no word USRSTACK in trad-core.c ... It make me confuse.

FYI, I used GNU make-3.79 . Any help greatly appreciated.

Rgds,

--assakhof

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

* Re: gnu gcc in BSDI 4.0.1
  2000-07-28 18:05                             ` assakhof
@ 2000-07-29 10:51                               ` Alexandre Oliva
  0 siblings, 0 replies; 15+ messages in thread
From: Alexandre Oliva @ 2000-07-29 10:51 UTC (permalink / raw)
  To: assakhof; +Cc: gcc-help

On Jul 28, 2000, assakhof <assakhof@mimos.my> wrote:

> I get binutils-2.10, so I decide to install it. But then I got this
> error (during binutils installation):

Then you should report the problem to the binutils mailing list.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

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

* code broken by gcc 3.0
@ 2001-08-15 23:46                     ` Brent Phillips
  2001-08-16 18:18                       ` Alexandre Oliva
  0 siblings, 1 reply; 15+ messages in thread
From: Brent Phillips @ 2001-08-15 23:46 UTC (permalink / raw)
  To: gcc-help

Hi,

I've just upgraded to gcc 3.0, and (no surprise) my code breaks. But, I 
can't figure out what is the source of this error. Any suggestions are 
greatly appreciated!

In file included from /usr/include/g++-v3/bits/stl_algobase.h:44,
from /usr/include/g++-v3/bits/std_memory.h:20,
from /usr/include/g++-v3/bits/std_string.h:43,
from /usr/include/g++-v3/bits/localefwd.h:42,
from /usr/include/g++-v3/bits/std_ios.h:43,
from /usr/include/g++-v3/bits/std_ostream.h:39,
from /usr/include/g++-v3/bits/std_iostream.h:40,
from /usr/include/g++-v3/backward/iostream.h:32,
from /usr/include/g++-v3/backward/iterator.h:33,
from /usr/include/g++-v3/backward/algobase.h:31,
from /usr/include/g++-v3/backward/vector.h:31,
from ../include/LmIdSet.h:15,
from ../include/LmPlayerDB.h:21,
from LmPlayerDBF.cpp:15:
/usr/include/g++-v3/bits/std_cstdlib.h: At global scope:
/usr/include/g++-v3/bits/std_cstdlib.h:103: `system' not declaredmake: *** 
[LmPlayerDBF.o] Error 1


Sincerely,

Brent

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

* Re: code broken by gcc 3.0
  2001-08-15 23:46                     ` code broken by gcc 3.0 Brent Phillips
@ 2001-08-16 18:18                       ` Alexandre Oliva
  2001-08-16 22:05                         ` Brent Phillips
  0 siblings, 1 reply; 15+ messages in thread
From: Alexandre Oliva @ 2001-08-16 18:18 UTC (permalink / raw)
  To: Brent Phillips; +Cc: gcc-help

On Aug 16, 2001, Brent Phillips <brent@lyrastudios.com> wrote:

> /usr/include/g++-v3/bits/std_cstdlib.h: At global scope:
> /usr/include/g++-v3/bits/std_cstdlib.h:103: `system' not declared

It looks like a declaration for function system() is missing in the
standard header files of whatever OS you're running, and such a
declaration appears to be necessary for std_cstdlib.h to compile
properly.  We have to either fixinc stdlib.h or introduce a configure
test in libstdc++-v3 that detects whether there is a declaration of
::system() in stdlib.h.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

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

* Re: code broken by gcc 3.0
  2001-08-16 18:18                       ` Alexandre Oliva
@ 2001-08-16 22:05                         ` Brent Phillips
  0 siblings, 0 replies; 15+ messages in thread
From: Brent Phillips @ 2001-08-16 22:05 UTC (permalink / raw)
  To: Alexandre Oliva; +Cc: gcc-help

Hi,

Looking in stdlib.h, I find:

/* Execute the given line as a shell command.  */
extern int system (__const char *__command) __THROW;

Experimenting with a test program, I found that this error always occurs 
unless <stdlib.h> and <unistd.h> are both included before <vector>.

HOWEVER...my app still won't compile, even after adding  <stdlib.h> and 
<unistd.h> before <vector>. What's going on here?

Sincerely,

Brent


At 10:15 PM 8/16/2001 -0300, Alexandre Oliva wrote:
>On Aug 16, 2001, Brent Phillips <brent@lyrastudios.com> wrote:
>
> > /usr/include/g++-v3/bits/std_cstdlib.h: At global scope:
> > /usr/include/g++-v3/bits/std_cstdlib.h:103: `system' not declared
>
>It looks like a declaration for function system() is missing in the
>standard header files of whatever OS you're running, and such a
>declaration appears to be necessary for std_cstdlib.h to compile
>properly.  We have to either fixinc stdlib.h or introduce a configure
>test in libstdc++-v3 that detects whether there is a declaration of
>::system() in stdlib.h.
>
>--
>Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
>Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
>CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
>Free Software Evangelist    *Please* write to mailing lists, not to me


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

end of thread, other threads:[~2001-08-16 22:05 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <Gregory>
     [not found] ` <P.>
     [not found]   ` <Sherwood"'s>
     [not found]     ` <message>
     [not found]       ` <of>
     [not found]         ` <"Fri,>
     [not found]           ` <28>
     [not found]           ` <04>
     [not found]             ` <Feb>
     [not found]               ` <2000>
     [not found]                 ` <09:33:58>
     [not found]                   ` <-0800>
2000-02-04  9:31                     ` GCC Build Gregory P. Sherwood
2000-02-06 19:06                       ` Alexandre Oliva
2000-02-07  9:20                         ` Gregory P. Sherwood
2000-04-01  0:00                           ` Gregory P. Sherwood
2000-04-01  0:00                         ` Alexandre Oliva
2000-04-01  0:00                       ` Gregory P. Sherwood
     [not found]                 ` <15:11:10>
     [not found]                   ` <+0800>
2000-07-28  0:03                     ` gnu gcc in BSDI 4.0.1 assakhof
2000-07-28  0:09                       ` Alexandre Oliva
2000-07-28  5:50                         ` assakhof
2000-07-28  6:00                           ` Alexandre Oliva
2000-07-28 18:05                             ` assakhof
2000-07-29 10:51                               ` Alexandre Oliva
     [not found]         ` <"Wed,>
     [not found]           ` <15>
     [not found]             ` <Aug>
     [not found]               ` <2001>
     [not found]                 ` <23:41:29>
     [not found]                   ` <-0700>
2001-08-15 23:46                     ` code broken by gcc 3.0 Brent Phillips
2001-08-16 18:18                       ` Alexandre Oliva
2001-08-16 22:05                         ` Brent Phillips
     [not found] <Brent>

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).