public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Error
@ 2000-01-14 14:03 DarkSprrow
  2000-04-01  0:00 ` Error DarkSprrow
  0 siblings, 1 reply; 14+ messages in thread
From: DarkSprrow @ 2000-01-14 14:03 UTC (permalink / raw)
  To: help-gcc

test x"no" != xyes || \
  cc -c -DHAVE_CONFIG_H -g -I. -I/opt/install/gcc-2.95.2/libiberty/../include   /opt/install/gcc-2.95.2/libiberty/choose-temp.c -o pic/choose-temp.o
cc -c -DHAVE_CONFIG_H -g -I. -I/opt/install/gcc-2.95.2/libiberty/../include  /opt/install/gcc-2.95.2/libiberty/choose-temp.c
In file included from /opt/gnu/lib/gcc-lib/i386-sun-solaris2.4/2.6.0/include/time.h:90,
                 from /usr/include/sys/time.h:405,
                 from /usr/include/sys/select.h:17,
                 from /opt/gnu/lib/gcc-lib/i386-sun-solaris2.4/2.6.0/include/sys/types.h:271,
                 from /opt/install/gcc-2.95.2/libiberty/choose-temp.c:30:
/usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t'
/usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct or union
/usr/include/sys/siginfo.h:76: parse error before `}'
*** Error code 1
make: Fatal error: Command failed for target `choose-temp.o'
Current working directory /opt/gcc_2.95.2/libiberty
*** Error code 1
make: Fatal error: Command failed for target `all-libiberty'

I get the folling error when I run make, have you seen this error.
Also is there anywhere to get the actuall executable of the gcc compiler?

Thank you.

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

* Error
  2000-01-14 14:03 Error DarkSprrow
@ 2000-04-01  0:00 ` DarkSprrow
  0 siblings, 0 replies; 14+ messages in thread
From: DarkSprrow @ 2000-04-01  0:00 UTC (permalink / raw)
  To: help-gcc

test x"no" != xyes || \
  cc -c -DHAVE_CONFIG_H -g -I. -I/opt/install/gcc-2.95.2/libiberty/../include   /opt/install/gcc-2.95.2/libiberty/choose-temp.c -o pic/choose-temp.o
cc -c -DHAVE_CONFIG_H -g -I. -I/opt/install/gcc-2.95.2/libiberty/../include  /opt/install/gcc-2.95.2/libiberty/choose-temp.c
In file included from /opt/gnu/lib/gcc-lib/i386-sun-solaris2.4/2.6.0/include/time.h:90,
                 from /usr/include/sys/time.h:405,
                 from /usr/include/sys/select.h:17,
                 from /opt/gnu/lib/gcc-lib/i386-sun-solaris2.4/2.6.0/include/sys/types.h:271,
                 from /opt/install/gcc-2.95.2/libiberty/choose-temp.c:30:
/usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t'
/usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct or union
/usr/include/sys/siginfo.h:76: parse error before `}'
*** Error code 1
make: Fatal error: Command failed for target `choose-temp.o'
Current working directory /opt/gcc_2.95.2/libiberty
*** Error code 1
make: Fatal error: Command failed for target `all-libiberty'

I get the folling error when I run make, have you seen this error.
Also is there anywhere to get the actuall executable of the gcc compiler?

Thank you.

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

* error
@ 2021-11-22  0:45 Bill Cunningham
  0 siblings, 0 replies; 14+ messages in thread
From: Bill Cunningham @ 2021-11-22  0:45 UTC (permalink / raw)
  To: gcc-help

I believe this might be a glibc error because gcc is looking for 
libraries including static libraries from a libc I installed. So would 
anyone opine that I should go back and recompile libc? There's newer 
kernel headers out anyway.  If it's a gcc error wtf is wrong?

Bill

/mnt/x86_64-me-linux-gnu/bin/ld: cannot find /mnt/lib/libc.so.6 inside /mnt
/mnt/x86_64-me-linux-gnu/bin/ld: cannot find /mnt/lib/libc_nonshared.a 
inside /mnt
/mnt/x86_64-me-linux-gnu/bin/ld: cannot find 
/mnt/lib/ld-linux-x86-64.so.2 inside /mnt
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:995: libgcc_s.so] Error 1
make[1]: *** [Makefile:15133: all-target-libgcc] Error 2
make: *** [Makefile:969: all] Error 2


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

* Error
@ 2019-11-01  1:44 pen1979871192
  0 siblings, 0 replies; 14+ messages in thread
From: pen1979871192 @ 2019-11-01  1:44 UTC (permalink / raw)
  To: gcc-help

Why i can not search anything in Goole Search 

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

* Re: error
  2007-10-13  1:09 error jay caverte
@ 2007-10-13  1:25 ` Brian Dessent
  0 siblings, 0 replies; 14+ messages in thread
From: Brian Dessent @ 2007-10-13  1:25 UTC (permalink / raw)
  To: jay caverte; +Cc: gcc-help

jay caverte wrote:

> can you tell me what i have to do? ive read the
> installation manual, and it does say that you have to
> out gcc or cc in your path first but i don't know how
> to do it. Thank you

What you currently have is the source code to gcc.  In order to build
something from source code requires a compiler, and gcc is no
different.  So without already having an existing compiler installed,
the gcc source code is useless.  But you probably do not want or need to
actually build gcc from scratch this way; if your end goal is to have a
working compiler then install gcc through the packages that your
vendor/distro/operating system provides.

Brian

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

* error
@ 2007-10-13  1:09 jay caverte
  2007-10-13  1:25 ` error Brian Dessent
  0 siblings, 1 reply; 14+ messages in thread
From: jay caverte @ 2007-10-13  1:09 UTC (permalink / raw)
  To: gcc-help

hi, when i type the command ./configure on my terminal
this error message comes up:

loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install...
/usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH

can you tell me what i have to do? ive read the
installation manual, and it does say that you have to
out gcc or cc in your path first but i don't know how
to do it. Thank you



Send instant messages to your online friends http://uk.messenger.yahoo.com 

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

* Error
@ 2005-04-13 22:39 Dean Margell
  0 siblings, 0 replies; 14+ messages in thread
From: Dean Margell @ 2005-04-13 22:39 UTC (permalink / raw)
  To: gcc-help

I am trying to build a cross compiler on my Windows XP host that will
compile executable binaries that I can run on my Linux Red Hat 9.0
target, but I get compile errors when building the binutils. I am
running cygwin 1.5.14, and gcc 3.3.3-3.

I have created a /crossgcc/build-binutils directory, and from it I
first execute the "configure" command:
$ ../../usr/src/binutils-20041229-1/configure
--target=$TARGET--host=$HOST --build=$BUILD --prefix=$PREFIX -v

Where:
TARGET=i686-pc-linux-gnu
HOST=i686-pc-cygwin
BUILD=i686-pc-cygwin
PREFIX=/crossgcc

and then, this is the error I get when I run 'make':
...
/crossgcc/build-binutils/binutils/arlex.c:1: multiple definition of `_main'
arparse.o(.text+0x0):/crossgcc/build-binutils/binutils/arparse.c:1:
first defined here
ar.o(.text+0x7d0): In function `main':
/crossgcc/build-binutils/binutils/../../../usr/src/binutils-20041229-1/binutils/ar.c:342:
multiple definition of `_main'
arparse.o(.text+0x0):/crossgcc/build-binutils/binutils/arparse.c:1:
first defined here
ar.o(.text+0x27): In function `mri_emul':
/crossgcc/build-binutils/binutils/../../../usr/src/binutils-20041229-1/binutils/ar.c:148:
undefined reference to `_yyparse'
collect2: ld returned 1 exit status
make[3]: *** [ar.exe] Error 1
make[3]: Leaving directory `/crossgcc/build-binutils/binutils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/crossgcc/build-binutils/binutils'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/crossgcc/build-binutils/binutils'
make: *** [all-binutils] Error 2

Any help would be Greatly appreciated (I'm new).

==============  start of output from "configure" command ================
$ ../../usr/src/binutils-20041229-1/configure --target=$TARGET --host=$HOST --b
uild=$BUILD --prefix=$PREFIX -v
loading cache ./config.cache
checking host system type... i686-pc-cygwin
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-cygwin
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether ln works... (cached) yes
checking whether ln -s works... (cached) yes
-v: not found
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gnatbind... no
checking whether compiler driver understands Ada... (cached) no
checking how to compare bootstrapped objects... (cached) cmp --ignore-initial=16
$$f1 $$f2
checking for correct version of gmp.h... no
checking for bison... no
checking for bison... no
checking for byacc... no
checking for yacc... no
checking for gm4... (cached) m4
checking for flex... no
checking for flex... no
checking for lex... no
checking for makeinfo... (cached) makeinfo
*** removing intl/Makefile to force reconfigure
*** removing libiberty/Makefile to force reconfigure
*** removing opcodes/Makefile to force reconfigure
*** removing bfd/Makefile to force reconfigure
*** removing binutils/Makefile to force reconfigure
checking for i686-pc-cygwin-ar... no
checking for ar... (cached) ar
checking for i686-pc-cygwin-as... no
checking for as... (cached) as
checking for i686-pc-cygwin-dlltool... no
checking for dlltool... (cached) dlltool
checking for i686-pc-cygwin-ld... (cached) /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3
/../../../../i686-pc-cygwin/bin/ld.exe
checking for i686-pc-cygwin-nm... no
checking for nm... (cached) nm
checking for i686-pc-cygwin-ranlib... (cached) ranlib
checking for i686-pc-cygwin-windres... no
checking for windres... (cached) windres
checking for i686-pc-cygwin-objcopy... no
checking for objcopy... (cached) objcopy
checking for i686-pc-cygwin-objdump... no
checking for objdump... (cached) objdump
checking for i686-pc-linux-gnu-ar... no
checking for i686-pc-linux-gnu-as... no
checking for i686-pc-linux-gnu-dlltool... no
checking for i686-pc-linux-gnu-ld... no
checking for i686-pc-linux-gnu-nm... no
checking for i686-pc-linux-gnu-ranlib... no
checking for i686-pc-linux-gnu-windres... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking if symbolic links between directories work... (cached) yes
updating cache ./config.cache
creating ./config.status
creating Makefile
==============  end of output from "configure" command ================

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

* Re: Error
  2002-05-12  9:27 ` Error bjorn rohde jensen
@ 2002-05-12 20:44   ` David Dudley
  0 siblings, 0 replies; 14+ messages in thread
From: David Dudley @ 2002-05-12 20:44 UTC (permalink / raw)
  To: gcc-help

On Sunday 12 May 2002 11:22 am, bjorn rohde jensen wrote:
> Hi Rahul,
>
>  g++ is basically telling you, that the function Free is
> not declared in your code or any included header files.
> The int Free(...) bit, i think, comes from standard C,
> where one did not have to prototype functions, but one
> could rely on some implicit prototypes. ANSI C made
> prototypes a requirement.

Yes, but in that case, isn't it also capitalized wrong?  its "free(...)", not 
"Free(...)" if thats what he was looking for.

David

>
> Yours sincerely,
>
> Bjorn
>
> Rahul it wrote:
> > I am running a Cpp program and when I compile it with g++ it gives
> > me some error
> > like this
> >
> > In function `int main(...)':
> > program.cpp: implicit declaration of function `int Free(...)
> >
> > I donot know why is this?
> > The only way Free() appears in my program is
> > Free (str);
> > where str type is
> > char * str;
> >
> > Thanks
> >
> > _________________________________________________________
> > Click below to visit monsterindia.com and review jobs in India or
> > Abroad
> > http://monsterindia.rediff.com/jobs

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

* Re: Error
  2002-05-12  8:50 Error Rahul  it
@ 2002-05-12  9:27 ` bjorn rohde jensen
  2002-05-12 20:44   ` Error David Dudley
  0 siblings, 1 reply; 14+ messages in thread
From: bjorn rohde jensen @ 2002-05-12  9:27 UTC (permalink / raw)
  Cc: gcc-help

Hi Rahul,

 g++ is basically telling you, that the function Free is
not declared in your code or any included header files.
The int Free(...) bit, i think, comes from standard C,
where one did not have to prototype functions, but one
could rely on some implicit prototypes. ANSI C made
prototypes a requirement.

Yours sincerely,

Bjorn

Rahul it wrote:
> 
> I am running a Cpp program and when I compile it with g++ it gives
> me some error
> like this
> 
> In function `int main(...)':
> program.cpp: implicit declaration of function `int Free(...)
> 
> I donot know why is this?
> The only way Free() appears in my program is
> Free (str);
> where str type is
> char * str;
> 
> Thanks
> 
> _________________________________________________________
> Click below to visit monsterindia.com and review jobs in India or
> Abroad
> http://monsterindia.rediff.com/jobs

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

* Error
@ 2002-05-12  8:50 Rahul  it
  2002-05-12  9:27 ` Error bjorn rohde jensen
  0 siblings, 1 reply; 14+ messages in thread
From: Rahul  it @ 2002-05-12  8:50 UTC (permalink / raw)
  To: gcc-help

I am running a Cpp program and when I compile it with g++ it gives 
me some error
like this

In function `int main(...)':
program.cpp: implicit declaration of function `int Free(...)

I donot know why is this?
The only way Free() appears in my program is
Free (str);
where str type is
char * str;

Thanks

_________________________________________________________
Click below to visit monsterindia.com and review jobs in India or 
Abroad
http://monsterindia.rediff.com/jobs

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

* Re: error
  2001-05-28  3:36 error Torsten Becker
@ 2001-05-28 14:36 ` Alexandre Oliva
  0 siblings, 0 replies; 14+ messages in thread
From: Alexandre Oliva @ 2001-05-28 14:36 UTC (permalink / raw)
  To: Torsten Becker; +Cc: gcc-help

On May 28, 2001, Torsten Becker <ghostlinktb@yahoo.de> wrote:

> Hello, who could help? What means these error messege?
> I use uClinux!

> ucLinux:/home/torsten/c_stuff # m68k-pic-coff-gcc
> key.c -o key
> /tmp/cca006321.o(.text+0x56):key.c: undefined
> reference to `$0700'

Looks like the assembler misunderstood this constant as a symbol.  Are
you sure you're using an appropriate assembler for this platform?

-- 
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] 14+ messages in thread

* error
@ 2001-05-28  3:36 Torsten Becker
  2001-05-28 14:36 ` error Alexandre Oliva
  0 siblings, 1 reply; 14+ messages in thread
From: Torsten Becker @ 2001-05-28  3:36 UTC (permalink / raw)
  To: gcc-help

Hello, who could help? What means these error messege?
I use uClinux!

ucLinux:/home/torsten/c_stuff # m68k-pic-coff-gcc
key.c -o key
/tmp/cca006321.o(.text+0x56):key.c: undefined
reference to `$0700'
/tmp/cca006321.o(.text+0x58):key.c: undefined
reference to `SR'
/tmp/cca006321.o(.text+0x2f8):key.c: undefined
reference to `$F0FF'
/tmp/cca006321.o(.text+0x2fa):key.c: undefined
reference to `SR'
/tmp/cca006321.o(.text+0x30c):key.c: undefined
reference to `$0700'
/tmp/cca006321.o(.text+0x30e):key.c: undefined
reference to `SR'
/tmp/cca006321.o(.text+0x374):key.c: undefined
reference to `$F0FF'
/tmp/cca006321.o(.text+0x376):key.c: undefined
reference to `SR'
/tmp/cca006321.o(.text+0x3f6):key.c: undefined
reference to `$0700'
/tmp/cca006321.o(.text+0x3f8):key.c: undefined
reference to `SR'
mv: key: No such file or directory
Can't open key.coffucLinux:/home/torsten/c_stuff #  

I have to link lib?         


__________________________________________________________________
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de

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

* error
@ 2001-05-28  3:22 Torsten Becker
  0 siblings, 0 replies; 14+ messages in thread
From: Torsten Becker @ 2001-05-28  3:22 UTC (permalink / raw)
  To: gcc-help

Hello everybody! What does these error messege mean?
I use uClinux(embedded system)! 

__________________________________________________________________
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de

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

* error
@ 2001-02-07  7:57 Edmond Kereku
  0 siblings, 0 replies; 14+ messages in thread
From: Edmond Kereku @ 2001-02-07  7:57 UTC (permalink / raw)
  To: gcc-help

Hi there,

I m getting a problem using g++ 2.95.2 on Linux:

:initialization to 'char *' from 'const char *' discards qualifiers

Does anybody know how to swich off the compiler for checking this kind of
initializations?

thanks a lot
Edmond Kereku
fb5
uni-siegen
GERMANY

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

end of thread, other threads:[~2021-11-22  0:45 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-14 14:03 Error DarkSprrow
2000-04-01  0:00 ` Error DarkSprrow
2001-02-07  7:57 error Edmond Kereku
2001-05-28  3:22 error Torsten Becker
2001-05-28  3:36 error Torsten Becker
2001-05-28 14:36 ` error Alexandre Oliva
2002-05-12  8:50 Error Rahul  it
2002-05-12  9:27 ` Error bjorn rohde jensen
2002-05-12 20:44   ` Error David Dudley
2005-04-13 22:39 Error Dean Margell
2007-10-13  1:09 error jay caverte
2007-10-13  1:25 ` error Brian Dessent
2019-11-01  1:44 Error pen1979871192
2021-11-22  0:45 error Bill Cunningham

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