#14 compilation problem

critical
closed-rejected
nobody
other (94)
2
2001-03-01
2001-01-31
Stephen
No

I get the following errors when I attempt to run make in the PDL
directory. The problem with the compiler appears to be a licensing
issue, but it compiles nevertheless, until it reaches browse.c.
I've included a uname -a, hinv, perl -v, and glxinfo system call at
the end if this helps. I suppose I am unable to install until this
is resolved. Should I try an older version? My goal is to use the
singular value decomposition (SVD) function to interpolate data from
an ill-conditioned matrix. I am also interested in the 3-d plotting
capabilities, although I haven't been successful in locating the
OpenGL libraries on my system. Any help you can offer will be
appreciated!!

Thanks,
Stephen Moss

make[1]: Entering directory `/home/pat4/linear-algebra/PDL-2.2/Basic'
make[2]: Entering directory `/home/pat4/linear-algebra/PDL-2.2/Basic/Pod'
make[2]: Leaving directory `/home/pat4/linear-algebra/PDL-2.2/Basic/Pod'
make[2]: Entering directory `/home/pat4/linear-algebra/PDL-2.2/Basic/Gen'
make[2]: Leaving directory `/home/pat4/linear-algebra/PDL-2.2/Basic/Gen'
make[2]: Entering directory `/home/pat4/linear-algebra/PDL-2.2/Basic/Core'
make[2]: Leaving directory `/home/pat4/linear-algebra/PDL-2.2/Basic/Core'
make[2]: Entering directory `/home/pat4/linear-algebra/PDL-2.2/Basic/Bad'
make[2]: Leaving directory `/home/pat4/linear-algebra/PDL-2.2/Basic/Bad'
make[2]: Entering directory `/home/pat4/linear-algebra/PDL-2.2/Basic/Ops'
make[2]: Leaving directory `/home/pat4/linear-algebra/PDL-2.2/Basic/Ops'
make[2]: Entering directory `/home/pat4/linear-algebra/PDL-2.2/Basic/Ufunc'
make[2]: Leaving directory `/home/pat4/linear-algebra/PDL-2.2/Basic/Ufunc'
make[2]: Entering directory `/home/pat4/linear-algebra/PDL-2.2/Basic/Primitive'
make[2]: Leaving directory `/home/pat4/linear-algebra/PDL-2.2/Basic/Primitive'
make[2]: Entering directory `/home/pat4/linear-algebra/PDL-2.2/Basic/Slices'
make[2]: Leaving directory `/home/pat4/linear-algebra/PDL-2.2/Basic/Slices'
make[2]: Entering directory `/home/pat4/linear-algebra/PDL-2.2/Basic/Test'
make[2]: Leaving directory `/home/pat4/linear-algebra/PDL-2.2/Basic/Test'
make[2]: Entering directory `/home/pat4/linear-algebra/PDL-2.2/Basic/Math'
make[2]: Leaving directory `/home/pat4/linear-algebra/PDL-2.2/Basic/Math'
make[2]: Entering directory `/home/pat4/linear-algebra/PDL-2.2/Basic/Complex'
make[2]: Leaving directory `/home/pat4/linear-algebra/PDL-2.2/Basic/Complex'
make[1]: Leaving directory `/home/pat4/linear-algebra/PDL-2.2/Basic'
make[1]: Entering directory `/home/pat4/linear-algebra/PDL-2.2/Demos'
make[1]: Leaving directory `/home/pat4/linear-algebra/PDL-2.2/Demos'
make[1]: Entering directory `/home/pat4/linear-algebra/PDL-2.2/Doc'
make[2]: Entering directory `/home/pat4/linear-algebra/PDL-2.2/Doc/Pod'
make[2]: Leaving directory `/home/pat4/linear-algebra/PDL-2.2/Doc/Pod'
make[1]: Leaving directory `/home/pat4/linear-algebra/PDL-2.2/Doc'
make[1]: Entering directory `/home/pat4/linear-algebra/PDL-2.2/Graphics'
make[2]: Entering directory `/home/pat4/linear-algebra/PDL-2.2/Graphics/PGPLOT'
make[3]: Entering directory `/home/pat4/linear-algebra/PDL-2.2/Graphics/PGPLOT/Window'
make[3]: Leaving directory `/home/pat4/linear-algebra/PDL-2.2/Graphics/PGPLOT/Window'
make[2]: Leaving directory `/home/pat4/linear-algebra/PDL-2.2/Graphics/PGPLOT'
make[2]: Entering directory `/home/pat4/linear-algebra/PDL-2.2/Graphics/LUT'
make[3]: Entering directory `/home/pat4/linear-algebra/PDL-2.2/Graphics/LUT/tables'
make[3]: Leaving directory `/home/pat4/linear-algebra/PDL-2.2/Graphics/LUT/tables'
make[3]: Entering directory `/home/pat4/linear-algebra/PDL-2.2/Graphics/LUT/ramps'
make[3]: Leaving directory `/home/pat4/linear-algebra/PDL-2.2/Graphics/LUT/ramps'
make[2]: Leaving directory `/home/pat4/linear-algebra/PDL-2.2/Graphics/LUT'
make[2]: Entering directory `/home/pat4/linear-algebra/PDL-2.2/Graphics/IIS'
make[2]: Leaving directory `/home/pat4/linear-algebra/PDL-2.2/Graphics/IIS'
make[2]: Entering directory `/home/pat4/linear-algebra/PDL-2.2/Graphics/Karma'
****
Not building PDL::Graphics::Karma, turn on WITH_KARMA if this is incorrect
****
make[2]: Leaving directory `/home/pat4/linear-algebra/PDL-2.2/Graphics/Karma'
make[1]: Leaving directory `/home/pat4/linear-algebra/PDL-2.2/Graphics'
make[1]: Entering directory `/home/pat4/linear-algebra/PDL-2.2/IO'
make[2]: Entering directory `/home/pat4/linear-algebra/PDL-2.2/IO/FastRaw'
make[2]: Leaving directory `/home/pat4/linear-algebra/PDL-2.2/IO/FastRaw'
make[2]: Entering directory `/home/pat4/linear-algebra/PDL-2.2/IO/Misc'
make[2]: Leaving directory `/home/pat4/linear-algebra/PDL-2.2/IO/Misc'
make[2]: Entering directory `/home/pat4/linear-algebra/PDL-2.2/IO/FlexRaw'
make[2]: Leaving directory `/home/pat4/linear-algebra/PDL-2.2/IO/FlexRaw'
make[2]: Entering directory `/home/pat4/linear-algebra/PDL-2.2/IO/Pnm'
make[2]: Leaving directory `/home/pat4/linear-algebra/PDL-2.2/IO/Pnm'
make[2]: Entering directory `/home/pat4/linear-algebra/PDL-2.2/IO/Browser'
cc -c -I../../Basic/Core -I/eadtb/include -32 -D_BSD_TYPES -D_BSD_TIME -Olimit 3100 -I/usr/local/include -DLANGUAGE_C -O -DVERSION=\"2.2\" -DXS_VERSION=\"2.2\" -KPIC -I/eadtb/lib/perl5/5.6.0/sgi-irix/CORE browse.c
No such feature exists (-5,116)

The MIPSpro C Compiler
(license FEATURE string = cc)
requires a license password.

For license installation and trouble shooting
information visit the web page:

http://www.sgi.com/Support/Licensing/install_docs.html

To obtain a Permanent license (proof of purchase
required) or an Evaluation license please
visit our license request web page:

http://www.sgi.com/Products/license.html

or send a blank email message to:

license@sgi.com

In North America, Silicon Graphics' customers may request
Permanent licenses by sending a facsimile to:

(650) 932-0537

or by calling our technical support hotline

1-800-800-4SGI

If you are Outside of North America or you are not a Silicon
Graphics support customer then contact your local support provider.

cfe: Error: browse.c, line 81: Syntax Error
void update_vlab(WINDOW *win, int x, int ioff)
------------------------^
cfe: Error: browse.c, line 81: Syntax Error
void update_vlab(WINDOW *win, int x, int ioff)
------------------------------^
cfe: Error: browse.c, line 81: Syntax Error
void update_vlab(WINDOW *win, int x, int ioff)
-------------------------------------^
cfe: Error: browse.c, line 85: Syntax Error
chtype chline[4096 ];
---------^
cfe: Error: browse.c, line 85: Empty declaration specifiers
chtype chline[4096 ];
---------^
cfe: Error: browse.c, line 88: Syntax Error
for (k=0;k<colwid;k++)
--^
cfe: Warning 625: browse.c, line 88: Empty declaration
for (k=0;k<colwid;k++)
----------^
cfe: Error: browse.c, line 88: Empty declaration specifiers
for (k=0;k<colwid;k++)
-------------^
cfe: Error: browse.c, line 88: Syntax Error
for (k=0;k<colwid;k++)
---------------------^
cfe: Error: browse.c, line 89: Empty declaration specifiers
chline[k] = ' ';
----^
cfe: Error: browse.c, line 91: Syntax Error
sprintf(line,"%d",ioff+x);
-------------------^
cfe: Warning 625: browse.c, line 91: Empty declaration
sprintf(line,"%d",ioff+x);
---------------------------^
cfe: Error: browse.c, line 92: Empty declaration specifiers
len = strlen(line);
--^
cfe: Error: browse.c, line 93: Empty declaration specifiers
d = (colwid-len)/2;
--^
cfe: Error: browse.c, line 94: Syntax Error
for (k=0;k<len;k++)
--^
cfe: Warning 625: browse.c, line 94: Empty declaration
for (k=0;k<len;k++)
----------^
cfe: Error: browse.c, line 94: Empty declaration specifiers
for (k=0;k<len;k++)
-------------^
cfe: Error: browse.c, line 94: Syntax Error
for (k=0;k<len;k++)
------------------^
cfe: Error: browse.c, line 95: Empty declaration specifiers
chline[k+d] = line[k] | A_BOLD;
----^
cfe: Error: browse.c, line 96: Empty declaration specifiers
chline[colwid-1] = '|' | A_BOLD;
--^
cfe: Error: browse.c, line 97: Empty declaration specifiers
chline[colwid] = 0;
--^
cfe: Error: browse.c, line 99: Syntax Error
mvwaddchnstr(win,0,x*colwid,chline,colwid);
-------------------^
cfe: Error: browse.c, line 99: Syntax Error
mvwaddchnstr(win,0,x*colwid,chline,colwid);
-------------------------------------------^
cfe: Warning 625: browse.c, line 99: Empty declaration
mvwaddchnstr(win,0,x*colwid,chline,colwid);
--------------------------------------------^
cfe: Error: browse.c, line 101: Syntax Error
void update_hlab(WINDOW *win, int y, int joff)
------------------------^
cfe: Error: browse.c, line 101: Syntax Error
void update_hlab(WINDOW *win, int y, int joff)
------------------------------^
cfe: Error: browse.c, line 101: Syntax Error
void update_hlab(WINDOW *win, int y, int joff)
-------------------------------------^
cfe: Error: browse.c, line 105: Syntax Error
chtype chline[4096 ];
---------^
cfe: Error: browse.c, line 105: Empty declaration specifiers
chtype chline[4096 ];
---------^
cfe: Error: browse.c, line 107: Syntax Error
for (k=0;k<4 ;k++)
--^
cfe: Warning 625: browse.c, line 107: Empty declaration
for (k=0;k<4 ;k++)
----------^
cfe: Warning 625: browse.c, line 107: Empty declaration
for (k=0;k<4 ;k++)
---------------^
cfe: Error: browse.c, line 108: Empty declaration specifiers
chline[k] = ' ';
----^
cfe: Error: browse.c, line 110: Syntax Error
sprintf(line,"%-4d",joff+y);
---------------------^
cfe: Warning 625: browse.c, line 110: Empty declaration
sprintf(line,"%-4d",joff+y);
-----------------------------^
cfe: Error: browse.c, line 111: Empty declaration specifiers
len = strlen(line);
--^
cfe: Error: browse.c, line 112: Empty declaration specifiers
d = (4 -len)/2;
--^
cfe: Fatal: Too many errors... goodbye.
make[2]: *** [browse.o] Error 1
make[2]: Leaving directory `/home/pat4/linear-algebra/PDL-2.2/IO/Browser'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/home/pat4/linear-algebra/PDL-2.2/IO'
make: *** [subdirs] Error 2

uname -a:
IRIX happy 6.5 01200531 IP22

hinv:
CPU: MIPS R4400 Processor Chip Revision: 6.0
FPU: MIPS R4000 Floating Point Coprocessor Revision: 0.0
1 200 MHZ IP22 Processor
Main memory size: 288 Mbytes
Secondary unified instruction/data cache size: 2 Mbytes on Processor 0
Instruction cache size: 16 Kbytes
Data cache size: 16 Kbytes
Integral SCSI controller 0: Version WD33C93B, revision D
Disk drive: unit 1 on SCSI controller 0
Integral SCSI controller 1: Version WD33C93B, revision D
On-board serial ports: 2
On-board bi-directional parallel port
Graphics board: GU1-Extreme
Integral Ethernet: ec0, version 1
Iris Audio Processor: version A2 revision 1.1.0
EISA bus: adapter 0

perl -v:
This is perl, v5.6.0 built for sgi-irix

Copyright 1987-2000, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5.0 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.

glxinfo:
display: doc:0.0
server glx vendor string: SGI
server glx version string: 1.2 Irix 6.5
server glx extensions (GLX_):
EXT_import_context, EXT_visual_info, EXT_visual_rating, SGI_swap_control,
SGI_video_sync, SGIX_fbconfig, SGIX_swap_group.
client glx version 1.1
client glx extensions (GLX_):
EXT_import_context, EXT_visual_info, EXT_visual_rating, SGI_swap_control,
SGI_video_sync, SGIX_fbconfig, SGIX_swap_group.
OpenGL vendor string: SGI
OpenGL renderer string: GR2-Extreme
OpenGL version string: 1.1 Irix 6.5
OpenGL extensions (GL_):
EXT_abgr, EXT_blend_color, EXT_blend_logic_op, EXT_blend_minmax,
EXT_blend_subtract, EXT_convolution, EXT_copy_texture, EXT_histogram,
EXT_packed_pixels, EXT_polygon_offset, EXT_subtexture, EXT_texture,
EXT_texture3D, EXT_texture_object, EXT_vertex_array, SGI_color_matrix,
SGI_color_table, SGI_texture_color_table, SGIS_texture_filter4,
SGIX_texture_scale_bias.
glu version: 1.2 Irix 6.5
glu extensions (GLU_):
EXT_abgr, EXT_nurbs_tessellator, EXT_object_space_tess, EXT_packed_pixels,
EXT_texture, SGI_filter4_parameters.

visual x bf lv rg d st r g b a ax dp st accum buffs ms
id dep cl sp sz l ci b ro sz sz sz sz bf th cl r g b a ns b
-----------------------------------------------------------------
0x20 2 pc y 2 2 c . . . . . . . . . . . . . . .
0x21 2 pc y 2 1 c . . . . . . . . . . . . . . .
0x22 4 pc y 4 1 c . . . . . . . . . . . . . . .
0x23 4 pc . 4 . c y . . . . . . 20 4 . . . . . .
0x24 4 tc . 4 . r y . 1 2 1 . . 20 4 16 16 16 16 . .
0x25 8 pc . 8 . c . . . . . . . 20 4 . . . . . .
0x27 8 tc . 8 . r . . 3 3 2 . . 20 4 16 16 16 16 . .
0x28 12 pc . 12 . c y . . . . . . 24 . . . . . . .
0x29 12 pc . 12 . c y . . . . . . 20 4 . . . . . .
0x2a 12 pc . 12 . c . . . . . . . 24 . . . . . . .
0x2b 12 pc . 12 . c . . . . . . . 20 4 . . . . . .
0x2c 12 tc . 12 . r y . 4 4 4 . . 24 . 16 16 16 16 . .
0x2d 12 tc . 12 . r y . 4 4 4 . . 20 4 16 16 16 16 . .
0x2e 24 tc . 24 . r . . 8 8 8 . . 24 . 16 16 16 16 . .
0x2f 24 tc . 24 . r . . 8 8 8 . . 20 4 16 16 16 16 . .
0x31 24 tc . 24 . r . . 8 8 8 . . . . 16 16 16 16 . .

Discussion

  • Doug Burke

    Doug Burke - 2001-02-02

    As PDL::IO::Browser isn't essential to your needs, you could remove it from the compilation:

    'make clean', then edit IO/Makefile.PL , removing 'Browser' from the 'DIR' list.

    Then 'perl Makefile.PL' (with whatever options) and cross your fingers when you run make.

     
  • Nobody/Anonymous

    I'm also having problems with IO/Browser/browse.c, compiling on FreeBSD with gcc. My problem is that chtype is not defined. On Linux it appears in <ncurses.h>, but not so on my FreeBSD system.

    andrew@squiz.co.nz

     
  • Christian Soeller

    I second Doug's comment on how to workaround the browse.c problem.
    Stephen, are you sure you have the irix_dev and gl_dev subsystems installed on your SGI? In particular gl_dev is required to build the OpenGL graphics stuff.

    Christian

     
  • Christian Soeller

    • priority: 5 --> 2
     
  • Christian Soeller

    • status: open --> closed
     
  • Christian Soeller

    • status: closed --> closed-rejected
     
  • Christian Soeller

    Logged In: YES
    user_id=1120

    Hopefully some of the previous comments were helpful.
    Further compilation problems should be discussed on
    pdl-porters until full resolution. I close this bug now.

     

Log in to post a comment.