Compile error on Irix 6.2 ('na' undefined) 
Author Message
 Compile error on Irix 6.2 ('na' undefined)

Quote:

> I am seeing the same problem about 'na' undefined.  I'm compiling with MIPSpro
> 7.2.   Here's the output of perl -V:

> -------------------------------------------------------------------------------
> Summary of my perl5 (5.0 patchlevel 4 subversion 4) configuration:

I had the same problem until I did the following fix.
The problem is that some perl symbol names seems to have changed from
perl 5.004y to 5.005x.  (eg: sv_undef  now is PL_sv_undef , ... )
'make test' was fine after a cleanup+rebuild of the tk modul.
But, in ./t/  are some testfiles excluded from 'make test', which cause
a core dump! Other examples work fine.
Should an experienced tk modul coder expect that dump?

have fun

--- tkGlue.def.orig     Fri Oct 16 19:55:23 1998

 #define XSdec(x) void x()
 #endif


+  -- problems in Xlib/Xlib.c         (and other files)
+  In function `XS_DisplayPtr_XQueryTree':
+      `PL_sv_undef' undeclared (first use in this function)
+  some files don't receive a PATCHLEVEL, thus #include "patchlevel.h"    
+*/
+#ifndef PATCHLEVEL
+#include <patchlevel.h>
+#endif /* PATCHLEVEL */
+
 #if defined(PATCHLEVEL) && (PATCHLEVEL < 5)
 #define PL_sv_undef    sv_undef
 #define PL_tainting    tainting
 #define PL_tainted     tainted
 #define PL_stack_base  stack_base
+#define PL_stack_sp    stack_sp
 #define PL_curcop      curcop
+#else

+   -- problems in Xlib/Xlib.c
+   In function 'XS_DisplayPtr_XLoadFont' ,  ( and many other functions in that
file)
+   `na' undeclared (first use in this function)
+   na is used in PPCODE: stuff, before user defined src code is emmitted.
+   */          
+#ifdef na
+#undef na
+#endif
 #endif

 #undef colors
 #endif

-#ifdef na
-#undef na
-#endif

 #define Tcl_Interp     HV

--
Volker Apelt          Group of Prof. Dr. Ch. Griesinger
                      Johann Wolfgang Goethe Universitaet
                      Frankfurt am Main (Germany)



Sun, 29 Jul 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Can't compile Mysql module on Irix 6.2

2. Can't compile perl 5.004 on IRIX 6.2

3. FYI Compiling perl 5.005_03 Under Irix 6.2: Use cc -O1

4. Installing and compiling modules (SGI, IRIX 6.2)

5. Compiling perl5.003_05 on IRIX 6.2

6. Problem compiling Tk800.000 on Irix 6.2

7. GD installation on IRIX 6.2 successfull but scripts wont run

8. Can't compile DBD::Pg under IRIX 5.3 (possible repost sorry, having probs with Deja)

9. perl 5.005_02 compilation fails on IRIX 6.2

10. Can't compile DBD::Pg under IRIX 5.3 (possible repost sorry, having probs with Deja)

11. Can't compile DBD::Pg under IRIX 5.3 (possible repost sorry, having probs with Deja)

12. Can't compile DBD::Pg under IRIX 5.3

 

 
Powered by phpBB® Forum Software