[sf-perl] GSAPI
Anthony Mirante
tony at technicon.com
Tue Dec 30 10:37:46 PST 2008
I am having trouble compiling gsapi.c on my Windows system. GSAPI is an
interface to GNU Ghostscript. I am running VS 2005 on an XP computer.
Has anyone had any luck compiling gsapi.c on a Windows machine? Do you
have any hints as to how I can get gsapi.c to compile in my environment?
Thanks.
-Tony
Y:\Products\PPMPackages\5.8plus\GSAPI-0.5>perl makefile.pl
Note (probably harmless): No library found for -lgs
Note (probably harmless): No library found for oldnames.lib
Note (probably harmless): No library found for kernel32.lib
Note (probably harmless): No library found for user32.lib
Note (probably harmless): No library found for gdi32.lib
Note (probably harmless): No library found for winspool.lib
Note (probably harmless): No library found for comdlg32.lib
Note (probably harmless): No library found for advapi32.lib
Note (probably harmless): No library found for shell32.lib
Note (probably harmless): No library found for ole32.lib
Note (probably harmless): No library found for oleaut32.lib
Note (probably harmless): No library found for netapi32.lib
Note (probably harmless): No library found for uuid.lib
Note (probably harmless): No library found for ws2_32.lib
Note (probably harmless): No library found for mpr.lib
Note (probably harmless): No library found for winmm.lib
Note (probably harmless): No library found for version.lib
Note (probably harmless): No library found for odbc32.lib
Note (probably harmless): No library found for odbccp32.lib
Note (probably harmless): No library found for msvcrt.lib
Writing Makefile for GSAPI
Y:\Products\PPMPackages\5.8plus\GSAPI-0.5>..\bin\nmake
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
cl -c -I. -I"C:/Program Files/Microsoft Visual Studio
8/VC/include/" -I"C:/Program Files/Microsoft Platform SDK/Include/"
-I"Y:/Products/PPMPackages/5.8plus/ghostscript-8.63/src" -nologo -GF
-W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DH
AVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO
-DPERL_MSVCRT_RE
ADFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.5\" -DXS_VERSION=\"0.5\"
"-IC:\Perl\lib\CORE" GSAPI.c
GSAPI.c
GSAPI.xs(13) : error C2143: syntax error : missing '{' before '*'
GSAPI.xs(141) : warning C4018: '>' : signed/unsigned mismatch
GSAPI.xs(377) : warning C4034: sizeof returns 0
GSAPI.xs(377) : warning C4034: sizeof returns 0
GSAPI.xs(377) : warning C4034: sizeof returns 0
GSAPI.xs(435) : error C2065: 'gs_main_instance' : undeclared identifier
GSAPI.xs(435) : error C2065: 'inst' : undeclared identifier
GSAPI.xs(435) : error C2106: '=' : left operand must be l-value
GSAPI.c(589) : error C2146: syntax error : missing ';' before identifier
'RETVAL'
GSAPI.c(589) : error C2065: 'RETVAL' : undeclared identifier
GSAPI.xs(437) : warning C4047: 'function' : 'void **' differs in levels
of indirection from 'int *'
GSAPI.xs(437) : warning C4022: 'gsapi_new_instance' : pointer mismatch
for actual parameter 1
GSAPI.c(613) : error C2146: syntax error : missing ';' before identifier
'inst'
GSAPI.c(617) : error C2064: term does not evaluate to a function taking
-22 arguments
...
GSAPI.xs(544) : fatal error C1903: unable to recover from previous
error(s); stopping compilation
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code
'0x2'
Stop.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/sanfrancisco-pm/attachments/20081230/8b8f0cbd/attachment.html>
More information about the SanFrancisco-pm
mailing list