Source Navigator

I’ve noticed a couple of postings saying that you can compile RedHat’s
SourceNavigator under QNX straight from the source. Has anybody managed to
do this? I tried the latest release (4.5.2) but didn’t have much luck (it
fails when it tries to compile Tcl). Any help would be greatly
appreciated…

Thanks,
James.

James Nichols wrote:

I’ve noticed a couple of postings saying that you can compile RedHat’s
SourceNavigator under QNX straight from the source. Has anybody managed to
do this? I tried the latest release (4.5.2) but didn’t have much luck (it
fails when it tries to compile Tcl). Any help would be greatly
appreciated…

I got it compiled – with minor hicups.
It would be helpfull if you’d post the actual compiler error …

-Th

Previously, Thomas Hentschel wrote in qdn.public.qnxrtp.devtools:

James Nichols wrote:

I’ve noticed a couple of postings saying that you can compile RedHat’s
SourceNavigator under QNX straight from the source. Has anybody managed to
do this? I tried the latest release (4.5.2) but didn’t have much luck (it
fails when it tries to compile Tcl). Any help would be greatly
appreciated…


I got it compiled – with minor hicups.
It would be helpfull if you’d post the actual compiler error …

-Th

Here’s the output from make:


make[1]: Entering directory /snavigator/db' make all-recursive make[2]: Entering directory /snavigator/db’
Making all in PORT
make[3]: Entering directory /snavigator/db/PORT' make[3]: Nothing to be done for all’.
make[3]: Leaving directory /snavigator/db/PORT' make[2]: Leaving directory /snavigator/db’
make[1]: Leaving directory /snavigator/db' make[1]: Entering directory /snavigator/tcl8.1’
make[2]: Entering directory /snavigator/tcl8.1/unix' gcc tclAppInit.o -L/snavigator/tcl8.1/unix -ltcl8.1 -lsocket -lm -lc \ -o tclsh /snavigator/tcl8.1/unix/libtcl8.1.a(tclLoad.o): In function Tcl_LoadObjCmd’:
tclLoad.o(.text+0x4e1): undefined reference to TclpLoadFile' tclLoad.o(.text+0x51b): undefined reference to TclpUnloadFile’
/snavigator/tcl8.1/unix/libtcl8.1.a(tclLoad.o): In function LoadExitProc': tclLoad.o(.text+0x990): undefined reference to TclpUnloadFile’
collect2: ld returned 1 exit status
make[2]: *** [tclsh] Error 1
make[2]: Leaving directory /snavigator/tcl8.1/unix' make[1]: *** [all] Error 2 make[1]: Leaving directory /snavigator/tcl8.1’
make: *** [all-tcl8.1] Error 2

Hope that helps,
cheers,
James

In article Voyager.001117165533.655397A@operator, “James Nichols”
<james.nichols@cenes.co.uk> wrote:

Previously, Thomas Hentschel wrote in qdn.public.qnxrtp.devtools:
James Nichols wrote:

I’ve noticed a couple of postings saying that you can compile
RedHat’s SourceNavigator under QNX straight from the source. Has
anybody managed to do this? I tried the latest release (4.5.2) but
didn’t have much luck (it fails when it tries to compile Tcl). Any
help would be greatly appreciated…


I got it compiled – with minor hicups. It would be helpfull if you’d
post the actual compiler error …

-Th


Here’s the output from make:


make[1]: Entering directory /snavigator/db' make all-recursive make[2]: Entering directory /snavigator/db’ Making all in PORT make[3]:
Entering directory /snavigator/db/PORT' make[3]: Nothing to be done for all’. make[3]: Leaving directory /snavigator/db/PORT' make[2]: Leaving directory /snavigator/db’ make[1]: Leaving directory /snavigator/db' make[1]: Entering directory /snavigator/tcl8.1’ make[2]: Entering
directory /snavigator/tcl8.1/unix' gcc tclAppInit.o -L/snavigator/tcl8.1/unix -ltcl8.1 -lsocket -lm -lc \ -o tclsh /snavigator/tcl8.1/unix/libtcl8.1.a(tclLoad.o): In function Tcl_LoadObjCmd’:
tclLoad.o(.text+0x4e1): undefined reference to TclpLoadFile' tclLoad.o(.text+0x51b): undefined reference to TclpUnloadFile’
/snavigator/tcl8.1/unix/libtcl8.1.a(tclLoad.o): In function
LoadExitProc': tclLoad.o(.text+0x990): undefined reference to TclpUnloadFile’
collect2: ld returned 1 exit status make[2]: *** [tclsh] Error 1
make[2]: Leaving directory /snavigator/tcl8.1/unix' make[1]: *** [all] Error 2 make[1]: Leaving directory /snavigator/tcl8.1’ make: ***
[all-tcl8.1] Error 2

Hope that helps, cheers, James

Here is the first one, I think there were a few more …
and, BTW, I used SN451, sorry for the mis-info on the last post.
You’ll probably have re-align this patch …

-Th

Makefile.org Fri Nov 17 19:47:59 2000
+++ Makefile Thu Aug 31 04:05:23 2000
@@ -251,7 +251,9 @@
tclResult.o tclStringObj.o tclThread.o tclTimer.o tclUtf.o tclUtil.o
tclVar.o

-OBJS = ${GENERIC_OBJS} ${UNIX_OBJS} ${NOTIFY_OBJS} ${COMPAT_OBJS} tclLoadNone.o
+# (TH) milage may vary, may need to experiment …
+OBJS = ${GENERIC_OBJS} ${UNIX_OBJS} ${NOTIFY_OBJS} ${COMPAT_OBJS} tclLoadDl.o tclLoadNone.o
+#OBJS = ${GENERIC_OBJS} ${UNIX_OBJS} ${NOTIFY_OBJS} ${COMPAT_OBJS} tclLoadNone.o

GENERIC_HDRS =
$(GENERIC_DIR)/tclRegexp.h \

begin 644 sn-src.diff
M+2TM(’-N+F]R9R]33C0U,2]G<F5P+W-R8R]R96=E>"YC"5-U;B!=6X@,30@
M,3DZ,#0Z,C@@,3DY.HK*RL@<VXO4TXT-3$O9W)E<"]S<F,O<F5G97@N8PE7 M960@075G(#,P(#(P.C,S.C4Y(#(P,#0$@+30U+#8@*S0U+#$R($!“B* M("\J($9O<B!P;&%T9F]R;2!W:&EC:"!S=7!P;W)T('1H92!)4T\@0R!A;65N M9&5M96YT(#$@9G5N8W1I;VYA;&ET>2!W90H@("@<W5P<&]R=”!U<V5R(&1E
M9FEN960@8VAA<F%C=&5R(&-L87-S97,N(“J+PHK"BLC:69D968@7U]13EA. M5$]?7PHK(W5N9&5F($A!5D5?5T-465!%7T@**R-U;F1E9B!(059%7U=#2$%2 M7T@**R-E;F1I9@HK"BC:68@9&5F:6YE9”!?3$E"0R!?"H9&5F:6YE9"!( M059%7U=#5%E015](("8F(&1E9FEN960@2$%615]70TA!4E](*0H@("\J(%-O M;&%R:7,@,BXU(&AA<R!A(&)U9SH@/'=C:&%R+F@^(&UU<W0@8F4@:6YC;'5D M960@8F5F;W)E(#QW8W1Y<&4N:#XN("J+PH@(R!I;F-L=61E(#QW8VAA<BYH
M/@HM+2T@<VXN;W)G+U-.-#4Q+W-N879I9V%T;W(O<&%R<V5R<R]F;W)T<F%N
M+V9O"YC"49R:2!&96(@,3$@,34Z-30Z,38@,CP,HK
RL@<VXO4TXT
M-3$O<VYA=FEG871O<B]P87)S97)S+V9O<G1R86XO9F]R;&5X+F,)5&AU($%U
M9RS,2P-CHP,3HS-"R,#P"D!("TQ-S$L,3@S$W,2PQ-B!0H@"2J M($YO;F1I9VET<R!I;B!C;VQU;6YS(#$M-BH97AC97!T($5/1BQ%3U,I(&%R
M92!I;&QE9V%L+@H@"2J($AO<&5F=6QL>2!T:&ES('=O<FMS(&9O<B!%0D-$ M24,@=&]O+@H@"2J+PHK(VEF;F1E9B!?7U%.6$Y43U]?"BC9&5F:6YE(&ES M;&5G86PH0RD@*"H
$,I(#T]($5/1BD@?'P@
“A#2]/2!%3U,I('Q\(%P* M(DH("AC;VQ?;G5M(#X](#8@?'P@:7-D:6=I=“A#2D@)B8@7H@"2H$,I
M(#X](”<@)RF)BH0RD@/#T@)WHG("8F(%P
(D@(&QE9V%L7V-H87)S6W1O M87-C:6DH*&EN="DH0RDI+71O87-C:6DH)RG5T@/3T@$,I*2D@0HK(V5L
M<V4**R-D969I;F4@:7-L96=A;"A#2H("@H0RD@/3T@14]&*2!\?"H$,I
M(#T]($5/4RD@?'P@7HK"2@@*&-O;%]N=6T@/CT@-B!\?"!I<V1I9VET*$,I M*2F)B!<“BL)(”@H0RD@/CT@)RG("8F("A#*2/2G>B<@*2D@*0HK(V5N M9&EF"B
(D)+RH@07)R87D@:&%S('@@=VAE<F4@05-#24D@8VAA<F%C=&5R M(&ES(&YO="!V86QI9"J+PH@4%))5D%412!C:&%R(&QE9V%L7V-H87)S6UT]
!”@``
`
end

Ok, here’s one more, I think (hope) that’s it. Also, ‘make install’ installed one .tcl file w/o read perms,
(it only will run as root). Just chmod that file to 644 (can’t remember which one it was :frowning: )

-Th


In article <8v4qss$3r5$1@inn.qnx.com>, “Thomas Hentschel”
<thomas.NO@spam.hentschel.net> wrote:

In article Voyager.001117165533.655397A@operator, “James Nichols”
james.nichols@cenes.co.uk> > wrote:

Previously, Thomas Hentschel wrote in qdn.public.qnxrtp.devtools:
James Nichols wrote:

I’ve noticed a couple of postings saying that you can compile
RedHat’s SourceNavigator under QNX straight from the source. Has
anybody managed to do this? I tried the latest release (4.5.2) but
didn’t have much luck (it fails when it tries to compile Tcl). Any
help would be greatly appreciated…


I got it compiled – with minor hicups. It would be helpfull if you’d
post the actual compiler error …

-Th


Here’s the output from make:


make[1]: Entering directory /snavigator/db' make all-recursive make[2]: Entering directory /snavigator/db’ Making all in PORT
make[3]: Entering directory /snavigator/db/PORT' make[3]: Nothing to be done for all’. make[3]: Leaving directory /snavigator/db/PORT' make[2]: Leaving directory /snavigator/db’ make[1]: Leaving directory /snavigator/db' make[1]: Entering directory /snavigator/tcl8.1’ make[2]: Entering
directory /snavigator/tcl8.1/unix' gcc tclAppInit.o -L/snavigator/tcl8.1/unix -ltcl8.1 -lsocket -lm -lc \ -o tclsh /snavigator/tcl8.1/unix/libtcl8.1.a(tclLoad.o): In function Tcl_LoadObjCmd’:
tclLoad.o(.text+0x4e1): undefined reference to TclpLoadFile' tclLoad.o(.text+0x51b): undefined reference to TclpUnloadFile’
/snavigator/tcl8.1/unix/libtcl8.1.a(tclLoad.o): In function
LoadExitProc': tclLoad.o(.text+0x990): undefined reference to TclpUnloadFile’
collect2: ld returned 1 exit status make[2]: *** [tclsh] Error 1
make[2]: Leaving directory /snavigator/tcl8.1/unix' make[1]: *** [all] Error 2 make[1]: Leaving directory /snavigator/tcl8.1’ make: ***
[all-tcl8.1] Error 2

Hope that helps, cheers, James


Here is the first one, I think there were a few more … and, BTW, I
used SN451, sorry for the mis-info on the last post. You’ll probably
have re-align this patch …

-Th

Makefile.org Fri Nov 17 19:47:59 2000
+++ Makefile Thu Aug 31 04:05:23 2000
@@ -251,7 +251,9 @@
tclResult.o tclStringObj.o tclThread.o tclTimer.o tclUtf.o
tclUtil.o \ tclVar.o

-OBJS = ${GENERIC_OBJS} ${UNIX_OBJS} ${NOTIFY_OBJS} ${COMPAT_OBJS}
tclLoadNone.o
+# (TH) milage may vary, may need to experiment …
+OBJS = ${GENERIC_OBJS} ${UNIX_OBJS} ${NOTIFY_OBJS} ${COMPAT_OBJS}
tclLoadDl.o tclLoadNone.o
+#OBJS = ${GENERIC_OBJS} ${UNIX_OBJS} ${NOTIFY_OBJS} ${COMPAT_OBJS}
tclLoadNone.o

GENERIC_HDRS =
$(GENERIC_DIR)/tclRegexp.h \