Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

GPIB module for Perl

Status
Not open for further replies.

DPerl

Technical User
Feb 23, 2001
1
SG
I am trying to install a gpib module I got from on one of my company's Sparcstation(gpib card inside) with Solaris 2.6 OS. After some mod to the Makefile.PL, I went ahead and install the module. However I faced problems during the make. The module was tested ok using Linux and Win32 platform by the owner, thus I am wondering is it because of my OS? The fail msg is below. Please help!!

/usr/local/bin/perl -I/usr/local/micron/perl/prod/lib/5.00503/sun4-solaris -I/usr/local/micron/perl/prod/lib/
5.00503 /usr/local/micron/perl/prod/lib/5.00503/ExtUtils/xsubpp -typemap /usr/local/micron/perl/prod/lib/5.0
0503/ExtUtils/typemap -typemap typemap ni.xs >xstmp.c && mv xstmp.c ni.c
Please specify prototyping behavior for ni.xs (see perlxs manual)
gcc -B/usr/ccs/bin/ -c -I/usr/include/sys -DDEBUGGING -I/usr/local/include -I/opt/gnu/include -O -g -DVER
SION=\"0.20\" -DXS_VERSION=\"0.20\" -fPIC -I/usr/local/micron/perl/prod/lib/5.00503/sun4-solaris/CORE -DUNIX ni.c
In file included from ni.xs:16:
/usr/include/sys/ugpib.h:26: warning: `BIN' redefined
/usr/local/micron/perl/prod/lib/5.00503/sun4-solaris/CORE/config.h:37: warning: this is the location of the p
revious definition
In file included from /usr/local/micron/perl/prod/lib/5.00503/sun4-solaris/CORE/perl.h:1269,
from ni.xs:8:
/usr/local/micron/perl/prod/lib/5.00503/sun4-solaris/CORE/sv.h:299: parse error before `DIR'
/usr/local/micron/perl/prod/lib/5.00503/sun4-solaris/CORE/sv.h:299: warning: no semicolon at end of struct or union
/usr/local/micron/perl/prod/lib/5.00503/sun4-solaris/CORE/sv.h:313: parse error before `}'
gcc.5.6: file path prefix `/usr/ccs/bin/' never used
*** Error code 1
make: Fatal error: Command failed for target `ni.o'
Current working directory /usr/usr3/product/samson/gpib-0.20/ni
*** Error code 1
make: Fatal error: Command failed for target `subdirs'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top