This is a discussion on Has anyone been any to compile ghostscript version 8.50 or above on sco 5.0.5 within the Sco Unix forums, part of the Unix Operating Systems category; --> I am trying to compile ghostscript 8.5.0 under sco 5.0.5 using gcc 2.95.2 and first I got some errors ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I am trying to compile ghostscript 8.5.0 under sco 5.0.5 using gcc 2.95.2 and first I got some errors about int64_t not being defined, and when I added an explict typedef to long long, now I get: gcc -DHAVE_MKSTEMP -DHAVE_HYPOT -O2 -Wall -Wstrict-prototypes -Wmissing -declarations -Wmissing-prototypes -Wcast-qual -Wwrite-strings -fno-builtin -fno -common -DGX_COLOR_INDEX_TYPE="unsigned long long" -I./obj -I./src -o ./obj/g xhintn.o -c ./src/gxhintn.c In file included from src/gxhintn.h:23, from src/gxtype1.h:26, from ./src/gxhintn.c:31: src/stdint_.h:83: conflicting types for `int8_t' /usr/include/sys/types.h:54: previous declaration of `int8_t' src/stdint_.h:84: warning: redefinition of `uint8_t' /usr/include/sys/types.h:59: warning: `uint8_t' previously declared here src/stdint_.h:88: warning: redefinition of `int16_t' /usr/include/sys/types.h:64: warning: `int16_t' previously declared here src/stdint_.h:89: warning: redefinition of `uint16_t' /usr/include/sys/types.h:69: warning: `uint16_t' previously declared here src/stdint_.h:98: warning: redefinition of `int32_t' /usr/include/sys/types.h:74: warning: `int32_t' previously declared here src/stdint_.h:99: warning: redefinition of `uint32_t' /usr/include/sys/types.h:79: warning: `uint32_t' previously declared here ../src/gxhintn.c: In function `t1_hinter__paint_glyph': ../src/gxhintn.c:410: warning: unused variable `jj' ../src/gxhintn.c:380: warning: unused variable `offset_y' ../src/gxhintn.c:379: warning: unused variable `offset_x' ../src/gxhintn.c: In function `t1_hinter__paint_raster_grid': ../src/gxhintn.c:457: warning: unused variable `pix' ../src/gxhintn.c:466: warning: unused variable `pix' ../src/gxhintn.c:427: warning: unused variable `c1' ../src/gxhintn.c:427: warning: unused variable `c0' ../src/gxhintn.c: At top level: ../src/gxhintn.c:785: warning: function declaration isn't a prototype Does anyone have any ideas on how to work around this. I was able to compile under 5.0.7 but I then had to install a bunch of libraries on sco 5.0.5 to make it work. |
| ||||
| ----- Original Message ----- From: "Cary Lewis" <cary.lewis@gmail.com> Newsgroups: comp.unix.sco.misc To: <distro@jpr.com> Sent: Saturday, February 11, 2006 9:55 PM Subject: Has anyone been any to compile ghostscript version 8.50 or above on sco 5.0.5 >I am trying to compile ghostscript 8.5.0 under sco 5.0.5 using gcc > 2.95.2 and first I got some errors about int64_t not being defined, and > when I added an explict typedef to long long, now I get: > > gcc -DHAVE_MKSTEMP -DHAVE_HYPOT -O2 -Wall -Wstrict-prototypes > -Wmissing > -declarations -Wmissing-prototypes -Wcast-qual -Wwrite-strings > -fno-builtin -fno > -common -DGX_COLOR_INDEX_TYPE="unsigned long long" -I./obj -I./src > -o ./obj/g > xhintn.o -c ./src/gxhintn.c > In file included from src/gxhintn.h:23, > from src/gxtype1.h:26, > from ./src/gxhintn.c:31: > src/stdint_.h:83: conflicting types for `int8_t' > /usr/include/sys/types.h:54: previous declaration of `int8_t' > src/stdint_.h:84: warning: redefinition of `uint8_t' > /usr/include/sys/types.h:59: warning: `uint8_t' previously declared > here > src/stdint_.h:88: warning: redefinition of `int16_t' > /usr/include/sys/types.h:64: warning: `int16_t' previously declared > here > src/stdint_.h:89: warning: redefinition of `uint16_t' > /usr/include/sys/types.h:69: warning: `uint16_t' previously declared > here > src/stdint_.h:98: warning: redefinition of `int32_t' > /usr/include/sys/types.h:74: warning: `int32_t' previously declared > here > src/stdint_.h:99: warning: redefinition of `uint32_t' > /usr/include/sys/types.h:79: warning: `uint32_t' previously declared > here > ./src/gxhintn.c: In function `t1_hinter__paint_glyph': > ./src/gxhintn.c:410: warning: unused variable `jj' > ./src/gxhintn.c:380: warning: unused variable `offset_y' > ./src/gxhintn.c:379: warning: unused variable `offset_x' > ./src/gxhintn.c: In function `t1_hinter__paint_raster_grid': > ./src/gxhintn.c:457: warning: unused variable `pix' > ./src/gxhintn.c:466: warning: unused variable `pix' > ./src/gxhintn.c:427: warning: unused variable `c1' > ./src/gxhintn.c:427: warning: unused variable `c0' > ./src/gxhintn.c: At top level: > ./src/gxhintn.c:785: warning: function declaration isn't a prototype > > Does anyone have any ideas on how to work around this. > > I was able to compile under 5.0.7 but I then had to install a bunch of > libraries on sco 5.0.5 to make it work. Sounds like you need oss646c installed on 5.0.5 (at compile time not just run time) You'll need gwxlibs installed at compile time too unless you want a gs that can't do much. And since you've built it on 507 already you're done. Do not expect to be able to build a binary that can be installed and run on a stock 505 Do expect that regardless where you build it, you will need the latest libraries both on the build box and any run box. Brian K. White -- brian@aljex.com -- http://www.aljex.com/bkw/ +++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++. filePro BBx Linux SCO FreeBSD #callahans Satriani Filk! |