HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: gcc and ghostpcl
Operating System - HP-UX
1835270
Members
2451
Online
110078
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2002 07:16 AM
09-02-2002 07:16 AM
gcc and ghostpcl
I am trying to compile ghostpcl 1.37a for 10.20
with gcc 2.95.2
Using make get me the following problems :dtkrI:/usr/ghostpcl >make -k
make -C main -f pcl6_gcc.mak # build PCL and PCLXL.
make[1]: Entering directory `/usr/ghostpcl/main'
mkdir ./obj
mkdir: cannot create ./obj: File exists
make[1]: [obj/ldgs.tr] Error 2 (ignored)
mkdir ./obj
mkdir: cannot create ./obj: File exists
make[1]: [obj/ldgs.tr] Error 2 (ignored)
make GCFLAGS='-Wall -Wpointer-arith -Wstrict-prototypes -Wwrite-strings' FPU_TYPE='
' CONFIG='' FEATURE_DEVS=''./obj/'colimlib.dev './obj/'dps2lib.dev './obj/'path1
lib.dev './obj/'patlib.dev './obj/'psl2cs.dev './obj/'rld.dev './obj/'roplib.dev
'./obj/'ttflib.dev './obj/'cielib.dev './obj/'pipe.dev './obj/'htxlib.dev './o
bj/'devcmap.dev './obj/'gsnogc.dev './obj/'sdctd.dev './obj/'psl3lib.dev './obj/
'seprlib.dev './obj/'translib.dev './obj/'cidlib.dev './obj/'psf1lib.dev './obj/
'psf0lib.dev' XINCLUDE='-I/usr/local/X/include' XLIBDIRS='-L/usr/X11/lib -L/usr/X11R6/lib' X
LIBDIR='' XLIBS='Xt SM ICE Xext X11' DEVICE_DEVS=''./obj/'x11.dev './obj/'x11mono.dev './obj/'x11alpha.dev
'./obj/'x11cmyk.dev './obj/'djet500.dev './obj/'ljet4.dev './obj/'cljet5pr.dev '
./obj/'cljet5c.dev './obj/'bitcmyk.dev './obj/'pcxmono.dev './obj/'pcxgray.dev '
./obj/'pcxcmyk.dev './obj/'pswrite.dev './obj/'pdfwrite2.dev './obj/'pxlmono.dev
'./obj/'pxlcolor.dev './obj/'bmpmono.dev './obj/'bmpamono.dev './obj/'pbmraw.de
v './obj/'pgmraw.dev './obj/'ppmraw.dev './obj/'jpeg.dev './obj/'bbox.dev' STDLIBS=-lm -lpthread SYNC=posync BAND_LIST_STORAGE=memory BAND_LIST_COMPRESSOR=zlib ZSRCDIR=../gs/zlib ZGENDIR=./obj ZOBJDIR=./obj ZLIB_NAME= SHARE_ZLIB=0 JSRCDIR=../gs/jpeg JGENDIR=./obj JOBJDIR=./obj GLSRCDIR='../gs/src' GLGENDIR='./obj' GLOBJDIR='./obj' -f ../gs/src/ugcclib.mak ./obj/ld.tr ./obj/gsargs.o ./obj/gsfemu.o ./obj/gconfig.o ./obj/gscdefs.o
make[2]: Entering directory `/usr/ghostpcl/main'
gcc -g -O -Wall -Wpointer-arith -Wstrict-prototypes -Wwrite-strings -I./obj -I
../gs/src -o ./obj/gp_psync.o -c ../gs/src/gp_psync.c
../gs/src/gp_psync.c: In function `gp_semaphore_open':
../gs/src/gp_psync.c:68: incompatible type for argument 2 of `pthread_mutex_init
'
../gs/src/gp_psync.c:70: incompatible type for argument 2 of `pthread_cond_init'
../gs/src/gp_psync.c: In function `gp_monitor_open':
../gs/src/gp_psync.c:143: incompatible type for argument 2 of `pthread_mutex_ini
t'
../gs/src/gp_psync.c: In function `gp_create_thread':
../gs/src/gp_psync.c:216: warning: implicit declaration of function `pthread_att
r_init'
../gs/src/gp_psync.c:217: warning: implicit declaration of function `pthread_att
r_setdetachstate'
../gs/src/gp_psync.c:219: incompatible type for argument 2 of `pthread_create'
make[2]: *** [obj/gp_psync.o] Error 1
make[2]: Target `obj/ld.tr' not remade because of errors.
make[2]: `obj/gsargs.o' is up to date.
make[2]: `obj/gsfemu.o' is up to date.
make[2]: Target `obj/gconfig.o' not remade because of errors.
make[2]: Target `obj/gscdefs.o' not remade because of errors.
make[2]: Leaving directory `/usr/ghostpcl/main'
make[1]: *** [obj/ldgs.tr] Error 2
cp -p ../pxl/pxbfont.psc ./obj/pxbfont.c
make[1]: Target `default' not remade because of errors.
make[1]: Leaving directory `/usr/ghostpcl/main'
make: *** [pcl6] Error 2
Any idea what can be wrong ?
Thanks
Ignace
with gcc 2.95.2
Using make get me the following problems :dtkrI:/usr/ghostpcl >make -k
make -C main -f pcl6_gcc.mak # build PCL and PCLXL.
make[1]: Entering directory `/usr/ghostpcl/main'
mkdir ./obj
mkdir: cannot create ./obj: File exists
make[1]: [obj/ldgs.tr] Error 2 (ignored)
mkdir ./obj
mkdir: cannot create ./obj: File exists
make[1]: [obj/ldgs.tr] Error 2 (ignored)
make GCFLAGS='-Wall -Wpointer-arith -Wstrict-prototypes -Wwrite-strings' FPU_TYPE='
' CONFIG='' FEATURE_DEVS=''./obj/'colimlib.dev './obj/'dps2lib.dev './obj/'path1
lib.dev './obj/'patlib.dev './obj/'psl2cs.dev './obj/'rld.dev './obj/'roplib.dev
'./obj/'ttflib.dev './obj/'cielib.dev './obj/'pipe.dev './obj/'htxlib.dev './o
bj/'devcmap.dev './obj/'gsnogc.dev './obj/'sdctd.dev './obj/'psl3lib.dev './obj/
'seprlib.dev './obj/'translib.dev './obj/'cidlib.dev './obj/'psf1lib.dev './obj/
'psf0lib.dev' XINCLUDE='-I/usr/local/X/include' XLIBDIRS='-L/usr/X11/lib -L/usr/X11R6/lib' X
LIBDIR='' XLIBS='Xt SM ICE Xext X11' DEVICE_DEVS=''./obj/'x11.dev './obj/'x11mono.dev './obj/'x11alpha.dev
'./obj/'x11cmyk.dev './obj/'djet500.dev './obj/'ljet4.dev './obj/'cljet5pr.dev '
./obj/'cljet5c.dev './obj/'bitcmyk.dev './obj/'pcxmono.dev './obj/'pcxgray.dev '
./obj/'pcxcmyk.dev './obj/'pswrite.dev './obj/'pdfwrite2.dev './obj/'pxlmono.dev
'./obj/'pxlcolor.dev './obj/'bmpmono.dev './obj/'bmpamono.dev './obj/'pbmraw.de
v './obj/'pgmraw.dev './obj/'ppmraw.dev './obj/'jpeg.dev './obj/'bbox.dev' STDLIBS=-lm -lpthread SYNC=posync BAND_LIST_STORAGE=memory BAND_LIST_COMPRESSOR=zlib ZSRCDIR=../gs/zlib ZGENDIR=./obj ZOBJDIR=./obj ZLIB_NAME= SHARE_ZLIB=0 JSRCDIR=../gs/jpeg JGENDIR=./obj JOBJDIR=./obj GLSRCDIR='../gs/src' GLGENDIR='./obj' GLOBJDIR='./obj' -f ../gs/src/ugcclib.mak ./obj/ld.tr ./obj/gsargs.o ./obj/gsfemu.o ./obj/gconfig.o ./obj/gscdefs.o
make[2]: Entering directory `/usr/ghostpcl/main'
gcc -g -O -Wall -Wpointer-arith -Wstrict-prototypes -Wwrite-strings -I./obj -I
../gs/src -o ./obj/gp_psync.o -c ../gs/src/gp_psync.c
../gs/src/gp_psync.c: In function `gp_semaphore_open':
../gs/src/gp_psync.c:68: incompatible type for argument 2 of `pthread_mutex_init
'
../gs/src/gp_psync.c:70: incompatible type for argument 2 of `pthread_cond_init'
../gs/src/gp_psync.c: In function `gp_monitor_open':
../gs/src/gp_psync.c:143: incompatible type for argument 2 of `pthread_mutex_ini
t'
../gs/src/gp_psync.c: In function `gp_create_thread':
../gs/src/gp_psync.c:216: warning: implicit declaration of function `pthread_att
r_init'
../gs/src/gp_psync.c:217: warning: implicit declaration of function `pthread_att
r_setdetachstate'
../gs/src/gp_psync.c:219: incompatible type for argument 2 of `pthread_create'
make[2]: *** [obj/gp_psync.o] Error 1
make[2]: Target `obj/ld.tr' not remade because of errors.
make[2]: `obj/gsargs.o' is up to date.
make[2]: `obj/gsfemu.o' is up to date.
make[2]: Target `obj/gconfig.o' not remade because of errors.
make[2]: Target `obj/gscdefs.o' not remade because of errors.
make[2]: Leaving directory `/usr/ghostpcl/main'
make[1]: *** [obj/ldgs.tr] Error 2
cp -p ../pxl/pxbfont.psc ./obj/pxbfont.c
make[1]: Target `default' not remade because of errors.
make[1]: Leaving directory `/usr/ghostpcl/main'
make: *** [pcl6] Error 2
Any idea what can be wrong ?
Thanks
Ignace
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2002 07:29 AM
09-02-2002 07:29 AM
Re: gcc and ghostpcl
Threading issue for HP-UX 10.20. Maybe my comments in perl's README.hpux help:
--8<---
=head2 Threaded Perl on HP-UX
It is possible to compile a version of threaded Perl on any version of
HP-UX before 10.30, but it is strongly suggested that you be running on
HP-UX 11.00 at least.
To compile Perl with threads, add -Dusethreads to the arguments of
Configure. Verify that the -D_POSIX_C_SOURCE=199506L compiler flag is
automatically added to the list of flags. Also make sure that -lpthread
is listed before -lc in the list of libraries to link Perl with. The
hints provided for HP-UX during Configure will try very hard to get
this right for you.
HP-UX versions before 10.30 require a separate installation of a POSIX
threads library package. Two examples are the HP DCE package, available
on "HP-UX Hardware Extensions 3.0, Install and Core OS, Release 10.20,
April 1999 (B3920-13941)" or the Freely available PTH package, available
though worldwide HP-UX mirrors of precompiled packages
(e.g. http://hpux.tn.tudelft.nl/hppd/hpux/)
If you are going to use the HP DCE package, the library used for threading
is /usr/lib/libcma.sl, but there have been multiple updates of that
library over time. Perl will build with the first version, but it
will not pass the test suite. Older Oracle versions might be a compelling
reason not to update that library, otherwise please find a newer version
in one of the following patches: PHSS_19739, PHSS_20608, or PHSS_23672
reformatted output:
d3:/usr/lib 106 > what libcma-*.1
libcma-00000.1:
HP DCE/9000 1.5 Module: libcma.sl (Export)
Date: Apr 29 1996 22:11:24
libcma-19739.1:
HP DCE/9000 1.5 PHSS_19739-40 Module: libcma.sl (Export)
Date: Sep 4 1999 01:59:07
libcma-20608.1:
HP DCE/9000 1.5 PHSS_20608 Module: libcma.1 (Export)
Date: Dec 8 1999 18:41:23
libcma-23672.1:
HP DCE/9000 1.5 PHSS_23672 Module: libcma.1 (Export)
Date: Apr 9 2001 10:01:06
d3:/usr/lib 107 >
-->8---
--8<---
=head2 Threaded Perl on HP-UX
It is possible to compile a version of threaded Perl on any version of
HP-UX before 10.30, but it is strongly suggested that you be running on
HP-UX 11.00 at least.
To compile Perl with threads, add -Dusethreads to the arguments of
Configure. Verify that the -D_POSIX_C_SOURCE=199506L compiler flag is
automatically added to the list of flags. Also make sure that -lpthread
is listed before -lc in the list of libraries to link Perl with. The
hints provided for HP-UX during Configure will try very hard to get
this right for you.
HP-UX versions before 10.30 require a separate installation of a POSIX
threads library package. Two examples are the HP DCE package, available
on "HP-UX Hardware Extensions 3.0, Install and Core OS, Release 10.20,
April 1999 (B3920-13941)" or the Freely available PTH package, available
though worldwide HP-UX mirrors of precompiled packages
(e.g. http://hpux.tn.tudelft.nl/hppd/hpux/)
If you are going to use the HP DCE package, the library used for threading
is /usr/lib/libcma.sl, but there have been multiple updates of that
library over time. Perl will build with the first version, but it
will not pass the test suite. Older Oracle versions might be a compelling
reason not to update that library, otherwise please find a newer version
in one of the following patches: PHSS_19739, PHSS_20608, or PHSS_23672
reformatted output:
d3:/usr/lib 106 > what libcma-*.1
libcma-00000.1:
HP DCE/9000 1.5 Module: libcma.sl (Export)
Date: Apr 29 1996 22:11:24
libcma-19739.1:
HP DCE/9000 1.5 PHSS_19739-40 Module: libcma.sl (Export)
Date: Sep 4 1999 01:59:07
libcma-20608.1:
HP DCE/9000 1.5 PHSS_20608 Module: libcma.1 (Export)
Date: Dec 8 1999 18:41:23
libcma-23672.1:
HP DCE/9000 1.5 PHSS_23672 Module: libcma.1 (Export)
Date: Apr 9 2001 10:01:06
d3:/usr/lib 107 >
-->8---
Enjoy, Have FUN! H.Merijn
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP