Need help building Mtio.pm on SunOS4.1.3 
Author Message
 Need help building Mtio.pm on SunOS4.1.3

[Previously posted to c.l.p.m;  sorry for the duplicate posting, but wasn't
getting any answers there]

I'm brand new to module-building/XS, and have been trying to put together
an mtio module to work with tapedrives on SunOS4.1.3_U1.

From the documentation, it seems like h2xs is the way to go.  I've built
the basic Mtio.pm and added "sundev/*" includes for needed constants, but
my make is still failing:  seems confused by some of the preprocessor
defines.  I'm still working through perlxs and perlxstut, but don't yet
understand them sufficiently to grok what's going on.

Has anyone worked with this on SunOS?  If so, I'd really appreciate your
advice.  Even more so, your pre-built Mtio module so that I can see what
I need to do (and so I can *cheat* a bit ;-).

Here's the output of a make:

cc -c -I/usr/local/include -O -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -pic
-I/usr/local/lib/perl5/sun4-sunos/5.002/CORE Mtio.c

"Mtio.c", line 50: operands of RETURN have incompatible types
"Mtio.c", line 458: syntax error at or near symbol {
"Mtio.c", line 458: syntax error at or near symbol }
"Mtio.c", line 458: syntax error at or near symbol }
"Mtio.c", line 458: syntax error at or near symbol }
"Mtio.c", line 458: syntax error at or near symbol }
"Mtio.c", line 458: syntax error at or near symbol }
"Mtio.c", line 458: syntax error at or near symbol }
"Mtio.c", line 458: syntax error at or near symbol }
"Mtio.c", line 458: syntax error at or near symbol }
"Mtio.c", line 458: syntax error at or near symbol }
"Mtio.c", line 458: syntax error at or near symbol }
"Mtio.c", line 458: syntax error at or near symbol }
"Mtio.c", line 458: syntax error at or near symbol }
"Mtio.c", line 458: syntax error at or near symbol }
"Mtio.c", line 490: warning: statement not reached
"Mtio.c", line 499: syntax error at or near type word "void"
"Mtio.c", line 501: warning: statement not reached
"Mtio.c", line 519: syntax error at or near type word "void"
"Mtio.c", line 521: warning: statement not reached
"Mtio.c", line 526: XS_Mtio_constant undefined
"Mtio.c", line 529: boot_Mtio undefined
"Mtio.c", line 530: syntax error
*** Error code 1
make: Fatal error: Command failed for target `Mtio.o'

TIA, and let me know if you require more info.


  "Quite frankly, teachers are the only profession that teach our children."
    -- Vice President Dan Quayle, 9/18/90



Mon, 22 Mar 1999 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Need help building Mtio module on SunOS-4.1.3

2. Need help linking perl under SunOS4.1.2

3. Help needed with sunos4 and mail pipe

4. Need help with perl5.001 on Sunos4.1.x

5. HELP - errors related to AutoLoader.pm, Entitiy.pm, Internet.pm, IO/Wrap.pm, Head.pm

6. Help with Building GD.pm on Linux

7. building perl on Solaris 9 (lib/pm.pm error)

8. Need Help in building Crypt::* modules

9. need help building 4-036 under SunOS 4.1.3

10. Need help building DBD::mysql on SCO 3.2v5.0.4

11. NEED HELP building perl with gcc on Solaris 2.1

12. need help building pl35 on AUX 3.0

 

 
Powered by phpBB® Forum Software