Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

GPIB module for Perl

GPIB module for Perl

GPIB module for Perl

I am trying to install a gpib module I got from www.mock.com/gpib 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'

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close