public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* problem with "libobjects" and gcc-4.0.0
@ 2005-07-07 4:13 apaz
2005-07-07 4:19 ` Andrew Pinski
2005-07-07 4:35 ` Andrew Pinski
0 siblings, 2 replies; 10+ messages in thread
From: apaz @ 2005-07-07 4:13 UTC (permalink / raw)
To: gcc-bugs
I'm getting the following message when I try to install "libobjects":
The GCC 'nested functions' feature does not seem to be working on
this machine.
I'm working under Linux(i686) on an AMD athlon and with gcc-3.4.3.
Also, I'm having problems installing gcc-4.0.0. I'm getting the following
message after "make":
./config.status: line 910: ./../../config-ml.in: No such file or directory
make: *** [configure-zlib] Error 1
Please let me know what can I do to address these problems,
Thank you very much once again,
Alex
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: problem with "libobjects" and gcc-4.0.0
2005-07-07 4:13 problem with "libobjects" and gcc-4.0.0 apaz
@ 2005-07-07 4:19 ` Andrew Pinski
2005-07-07 4:35 ` Andrew Pinski
1 sibling, 0 replies; 10+ messages in thread
From: Andrew Pinski @ 2005-07-07 4:19 UTC (permalink / raw)
To: apaz; +Cc: gcc-bugs
On Jul 7, 2005, at 12:13 AM, apaz@purdue.edu wrote:
> Also, I'm having problems installing gcc-4.0.0. I'm getting the
> following
> message after "make":
>
> ./config.status: line 910: ./../../config-ml.in: No such file or
> directory
> make: *** [configure-zlib] Error 1
This one is easy. You are building in the src directory which is not
fully
supported (and really has not been recommended for a long time) for
4.0.x.
You want to read gcc.gnu.org/install/ for the full installation
instructions.
Thanks,
Andrew Pinski
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: problem with "libobjects" and gcc-4.0.0
2005-07-07 4:13 problem with "libobjects" and gcc-4.0.0 apaz
2005-07-07 4:19 ` Andrew Pinski
@ 2005-07-07 4:35 ` Andrew Pinski
2005-07-07 4:57 ` apaz
1 sibling, 1 reply; 10+ messages in thread
From: Andrew Pinski @ 2005-07-07 4:35 UTC (permalink / raw)
To: apaz; +Cc: gcc-bugs
On Jul 7, 2005, at 12:13 AM, apaz@purdue.edu wrote:
> I'm getting the following message when I try to install "libobjects":
Is there a reason why you are trying to install libobjects when it was
renamed to be "GNUstep Base Library" and therefore is now maintained
part of the GNUstep project?
Thanks,
Andrew Pinski
a libobjc maintainer
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: problem with "libobjects" and gcc-4.0.0
2005-07-07 4:35 ` Andrew Pinski
@ 2005-07-07 4:57 ` apaz
2005-07-07 4:58 ` Andrew Pinski
0 siblings, 1 reply; 10+ messages in thread
From: apaz @ 2005-07-07 4:57 UTC (permalink / raw)
To: Andrew Pinski; +Cc: gcc-bugs
No really, I'm just trying to compile Objective C code. But when I use -libobjc,
I get:
/usr/bin/ld: cannot find -libobjc
collect2: ld returned 1 exit status
I thought that "libobjc" was included in gcc. So, I found the following link
that says that -libobjc is the Objective C class library . . .
http://www.cs.rochester.edu/u/mccallum/libobjects/
SO, what should I do to compile Objective C code? I have being trying to use
"-lm" and "-libobjc" or "-libobjects".
Thanks a lot,
Alex
Quoting Andrew Pinski <pinskia@physics.uc.edu>:
>
> On Jul 7, 2005, at 12:13 AM, apaz@purdue.edu wrote:
>
> > I'm getting the following message when I try to install "libobjects":
>
> Is there a reason why you are trying to install libobjects when it was
> renamed to be "GNUstep Base Library" and therefore is now maintained
> part of the GNUstep project?
>
> Thanks,
> Andrew Pinski
> a libobjc maintainer
>
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: problem with "libobjects" and gcc-4.0.0
2005-07-07 4:57 ` apaz
@ 2005-07-07 4:58 ` Andrew Pinski
2005-07-07 5:04 ` apaz
0 siblings, 1 reply; 10+ messages in thread
From: Andrew Pinski @ 2005-07-07 4:58 UTC (permalink / raw)
To: apaz; +Cc: gcc-bugs
On Jul 7, 2005, at 12:57 AM, apaz@purdue.edu wrote:
>
> No really, I'm just trying to compile Objective C code. But when I use
> -libobjc,
> I get:
>
> /usr/bin/ld: cannot find -libobjc
> collect2: ld returned 1 exit status
>
> I thought that "libobjc" was included in gcc. So, I found the
> following link
> that says that -libobjc is the Objective C class library . . .
>
> http://www.cs.rochester.edu/u/mccallum/libobjects/
>
> SO, what should I do to compile Objective C code? I have being trying
> to use
> "-lm" and "-libobjc" or "-libobjects".
-lobjc
-- Pinski
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: problem with "libobjects" and gcc-4.0.0
2005-07-07 4:58 ` Andrew Pinski
@ 2005-07-07 5:04 ` apaz
2005-07-07 5:09 ` Andrew Pinski
0 siblings, 1 reply; 10+ messages in thread
From: apaz @ 2005-07-07 5:04 UTC (permalink / raw)
To: Andrew Pinski; +Cc: gcc-bugs
Quoting Andrew Pinski <pinskia@physics.uc.edu>:
>
> On Jul 7, 2005, at 12:57 AM, apaz@purdue.edu wrote:
>
> >
> > No really, I'm just trying to compile Objective C code. But when I use
> > -libobjc,
> > I get:
> >
> > /usr/bin/ld: cannot find -libobjc
> > collect2: ld returned 1 exit status
> >
> > I thought that "libobjc" was included in gcc. So, I found the
> > following link
> > that says that -libobjc is the Objective C class library . . .
> >
> > http://www.cs.rochester.edu/u/mccallum/libobjects/
> >
> > SO, what should I do to compile Objective C code? I have being trying
> > to use
> > "-lm" and "-libobjc" or "-libobjects".
>
> -lobjc
>
>
> -- Pinski
>
>
Thanks, but then I get:
[root@localhost read_input]# gcc main.m read_input.m -lobjc -lm
/usr/bin/ld: warning: type and size of dynamic symbol `__objc_class_name_Object'
are not defined
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libobjc.so: undefined
reference to `xmalloc'
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libobjc.so: undefined
reference to `xfree'
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libobjc.so: undefined
reference to `xmalloc_atomic'
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libobjc.so: undefined
reference to `xcalloc'
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libobjc.so: undefined
reference to `xrealloc'
collect2: ld returned 1 exit status
Alex
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: problem with "libobjects" and gcc-4.0.0
2005-07-07 5:04 ` apaz
@ 2005-07-07 5:09 ` Andrew Pinski
2005-07-07 14:46 ` apaz
2005-07-07 18:40 ` apaz
0 siblings, 2 replies; 10+ messages in thread
From: Andrew Pinski @ 2005-07-07 5:09 UTC (permalink / raw)
To: apaz; +Cc: gcc-bugs
On Jul 7, 2005, at 1:04 AM, apaz@purdue.edu wrote:
> [root@localhost read_input]# gcc main.m read_input.m -lobjc -lm
> /usr/bin/ld: warning: type and size of dynamic symbol
> `__objc_class_name_Object'
> are not defined
> /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libobjc.so:
> undefined
> reference to `xmalloc'
> /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libobjc.so:
> undefined
> reference to `xfree'
> /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libobjc.so:
> undefined
> reference to `xmalloc_atomic'
> /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libobjc.so:
> undefined
> reference to `xcalloc'
> /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libobjc.so:
> undefined
> reference to `xrealloc'
> collect2: ld returned 1 exit status
Huh? xmalloc is not in libobjc in any version of GCC I could find.
This looks like a bug in your installation of GCC.
-- Pinski
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: problem with "libobjects" and gcc-4.0.0
2005-07-07 5:09 ` Andrew Pinski
@ 2005-07-07 14:46 ` apaz
2005-07-07 18:40 ` apaz
1 sibling, 0 replies; 10+ messages in thread
From: apaz @ 2005-07-07 14:46 UTC (permalink / raw)
To: Andrew Pinski; +Cc: gcc-bugs
Quoting Andrew Pinski <pinskia@physics.uc.edu>:
>
> On Jul 7, 2005, at 1:04 AM, apaz@purdue.edu wrote:
>
> > [root@localhost read_input]# gcc main.m read_input.m -lobjc -lm
> > /usr/bin/ld: warning: type and size of dynamic symbol
> > `__objc_class_name_Object'
> > are not defined
> > /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libobjc.so:
> > undefined
> > reference to `xmalloc'
> > /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libobjc.so:
> > undefined
> > reference to `xfree'
> > /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libobjc.so:
> > undefined
> > reference to `xmalloc_atomic'
> > /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libobjc.so:
> > undefined
> > reference to `xcalloc'
> > /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libobjc.so:
> > undefined
> > reference to `xrealloc'
> > collect2: ld returned 1 exit status
>
> Huh? xmalloc is not in libobjc in any version of GCC I could find.
> This looks like a bug in your installation of GCC.
>
> -- Pinski
>
>
Well, now I'm trying to install gcc-4.0.0 but after following the instalation
instructions I'm getting:
make[2]: *** No rule to make target `doc/gfortran.1', needed by `f95.man'. Stop.
make[2]: Leaving directory `/home/gcc/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/home/gcc/gcc'
make: *** [bootstrap] Error 2
I searched for 'gfortran.1' in my system, but I didn't find this file . . . What
can I do?
Thank you!
Alex
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: problem with "libobjects" and gcc-4.0.0
2005-07-07 5:09 ` Andrew Pinski
2005-07-07 14:46 ` apaz
@ 2005-07-07 18:40 ` apaz
2005-07-07 18:41 ` Andrew Pinski
1 sibling, 1 reply; 10+ messages in thread
From: apaz @ 2005-07-07 18:40 UTC (permalink / raw)
To: Andrew Pinski; +Cc: gcc-bugs
Quoting Andrew Pinski <pinskia@physics.uc.edu>:
>
> On Jul 7, 2005, at 1:04 AM, apaz@purdue.edu wrote:
>
> > [root@localhost read_input]# gcc main.m read_input.m -lobjc -lm
> > /usr/bin/ld: warning: type and size of dynamic symbol
> > `__objc_class_name_Object'
> > are not defined
> > /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libobjc.so:
> > undefined
> > reference to `xmalloc'
> > /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libobjc.so:
> > undefined
> > reference to `xfree'
> > /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libobjc.so:
> > undefined
> > reference to `xmalloc_atomic'
> > /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libobjc.so:
> > undefined
> > reference to `xcalloc'
> > /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libobjc.so:
> > undefined
> > reference to `xrealloc'
> > collect2: ld returned 1 exit status
>
> Huh? xmalloc is not in libobjc in any version of GCC I could find.
> This looks like a bug in your installation of GCC.
>
> -- Pinski
>
>
I solved my privious problem but now I have another one:
When I try to run my code (after compilation with gcc), I'm getting:
./a.out: error while loading shared libraries: libobjc.so.1: cannot open shared
object file: No such file or directory
And this is the last part of the output after Testing the instalation on gcc:
Finalized 6609/6609 objects - finalization is probably ok
Total number of bytes allocated is 306393376
Final heap size is 9592832 bytes
Collector appears to work
Completed 531 collections
PASS: gctest
==================
All 1 tests passed
==================
make[3]: Leaving directory `/home/gcc/i686-pc-linux-gnu/boehm-gc'
make[2]: Leaving directory `/home/gcc/i686-pc-linux-gnu/boehm-gc'
make[1]: Leaving directory `/home/gcc/i686-pc-linux-gnu/boehm-gc'
make: Target `check' not remade because of errors.
I'll appreciate your help??
Thank you,
Alex
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: problem with "libobjects" and gcc-4.0.0
2005-07-07 18:40 ` apaz
@ 2005-07-07 18:41 ` Andrew Pinski
0 siblings, 0 replies; 10+ messages in thread
From: Andrew Pinski @ 2005-07-07 18:41 UTC (permalink / raw)
To: apaz; +Cc: gcc-bugs
On Jul 7, 2005, at 2:40 PM, apaz@purdue.edu wrote:
> When I try to run my code (after compilation with gcc), I'm getting:
>
> ./a.out: error while loading shared libraries: libobjc.so.1: cannot
> open shared
> object file: No such file or directory
You have to set LD_LIBRARY_PATH correct.
-- Pinski
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2005-07-07 18:41 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-07 4:13 problem with "libobjects" and gcc-4.0.0 apaz
2005-07-07 4:19 ` Andrew Pinski
2005-07-07 4:35 ` Andrew Pinski
2005-07-07 4:57 ` apaz
2005-07-07 4:58 ` Andrew Pinski
2005-07-07 5:04 ` apaz
2005-07-07 5:09 ` Andrew Pinski
2005-07-07 14:46 ` apaz
2005-07-07 18:40 ` apaz
2005-07-07 18:41 ` Andrew Pinski
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).