* Weird problem compiling jcc
@ 1999-09-11 9:47 Benjamin Herrenschmidt
1999-09-11 15:25 ` Andreas Tobler
0 siblings, 1 reply; 2+ messages in thread
From: Benjamin Herrenschmidt @ 1999-09-11 9:47 UTC (permalink / raw)
To: linuxppc-dev
Recently, I downloaded the various jcc Code Crusader sources and compiled
them without a problem on my R5 distribution.
Yesterday, I wanted to add Code Medic. So I untar'ed the CM archive in my
JX hierarchy (versions of other components were still the same), did a
make clean, just in case, and stared a make for all the components.
After a couple of hours, I had a new jcc, code medic, and the various
shared libs used by those compiled in ~/bin and ~/lib (which _is_ in my
library path).
Fine. However the problem is that any attempt to run either jcc or medic
will give me an error about symbol __ti21JXNamedTreeListWidget not found.
I did check wiht objdump that this symbol _is_ present in
libjtree.xxx.so. I tried removing the various .o files of libjtree and
recompiled, just in case, but I still have the same problem.
Any clues ? Is this the sign that I have to update my linker ? I think I
still have the toolchain from the R5 CD, or eventually an updated version
from ftp.linuxppc.org if there is one in there (I don't use Frank's
2.95.x version yet). (I can't tell for sure which version I use now, I'm
on MacOS for the rest of the day).
Any clues ?
--
E-Mail: <mailto:bh40@calva.net>
BenH. Web : <http://calvaweb.calvacom.fr/bh40/>
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Weird problem compiling jcc
1999-09-11 9:47 Weird problem compiling jcc Benjamin Herrenschmidt
@ 1999-09-11 15:25 ` Andreas Tobler
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Tobler @ 1999-09-11 15:25 UTC (permalink / raw)
To: Benjamin Herrenschmidt; +Cc: linuxppc-dev
Hi Ben,
Benjamin Herrenschmidt wrote:
>
> Recently, I downloaded the various jcc Code Crusader sources and compiled
> them without a problem on my R5 distribution.
>
> Yesterday, I wanted to add Code Medic. So I untar'ed the CM archive in my
> JX hierarchy (versions of other components were still the same), did a
> make clean, just in case, and stared a make for all the components.
>
> After a couple of hours, I had a new jcc, code medic, and the various
> shared libs used by those compiled in ~/bin and ~/lib (which _is_ in my
> library path).
>
> Fine. However the problem is that any attempt to run either jcc or medic
> will give me an error about symbol __ti21JXNamedTreeListWidget not found.
>
> I did check wiht objdump that this symbol _is_ present in
> libjtree.xxx.so. I tried removing the various .o files of libjtree and
> recompiled, just in case, but I still have the same problem.
>
> Any clues ? Is this the sign that I have to update my linker ? I think I
> still have the toolchain from the R5 CD, or eventually an updated version
> from ftp.linuxppc.org if there is one in there (I don't use Frank's
> 2.95.x version yet). (I can't tell for sure which version I use now, I'm
> on MacOS for the rest of the day).
I've lot of experiences in building JCC & co did it x-times...
My experiences led me to the approach to reinstall EVERY thing of JX
including medic and it's components. ( When something is new)
I cleaned my /usr/lib from all JX components. I opened and exported my
private lib directory.
Also I added the uncomment of J_DIE_ON_WARNINGS
and the compiler switch -fpermissive, if this is really necessary??? (gcc-2.95.X)
After unpacking all I sent a make linuxppc5 and all went through without
any problems. CC worked and Medic too.
Shortly I had a mail discussion with a guy here from Zurich about
building JCC (only cc) and at first he wasn't able to get it to work.
Later he reported that he had to remove the built makemake etc. So my
guess would be: rm -r JX-1* and unpacking the whole stuff again
including the build process.
BTW on PBG3 250 it doesn't take hourS only about an hour...
This I did on various machines from standard LinuxPPC5 (CD) up to latest
2.95.1 glibc2.1.2.... no worry all builds worked.
It's working ...
Regards
Andreas
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-09-11 15:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-09-11 9:47 Weird problem compiling jcc Benjamin Herrenschmidt
1999-09-11 15:25 ` Andreas Tobler
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 NNTP newsgroup(s).