1832608 Members
2114 Online
110043 Solutions
New Discussion

CUPS?

 
Ben Wilson_4
Advisor

CUPS?

Hi,
I'm trying to get CUPS working on an L2000 with HP-UX 11.00.

I first tried the compiled depot from: http://hpux.cs.utah.edu/hppd/hpux/alpha.html

but it is old, and is missing a lot of features i'm looking for, plus it didn't even come with a sample config.

So i tried downloading and building the current release from www.cups.org.

I'm using gcc 3.0.4 to try and build cups-1.1.14.

It's erroring out on:
#make
Making all in cups...
Making all in backend...
Making all in berkeley...
Making all in cgi-bin...
Making all in filter...
Linking imagetops...
Making all in man...
Making all in pdftops...
Linking pdftops...
/usr/ccs/bin/ld: Unsatisfied symbols:
pthread_once (code)
pthread_key_create (code)
pthread_setspecific (code)
pthread_mutex_unlock (code)
pthread_getspecific (code)
pthread_mutex_lock (code)
collect2: ld returned 1 exit status
*** Error code 1

Stop.
***Error exit code 1

Stop.


Any idea what's going wrong?

Or anyone else already compile a newer cups for hp-ux?


Thanks,
Ben
6 REPLIES 6
hpuxrox
Respected Contributor

Re: CUPS?

First of all, if your using gcc you should be using binutils with it. I have seem many a post with that being the issue.

Ben Wilson_4
Advisor

Re: CUPS?

Yeah, i installed the binutils, v 2.11.2.

Any other ides?

Thanks,
Ben
Mehmet Musa
Occasional Advisor

Re: CUPS?

Ben,

It looks like you are missing the pthread library. You need to make sure that you have -lpthread in your compiler option and that the path to the library is also in with the -L option.

"cc ..... -L/usr/lib -lpthread"

if libthread is in /usr/lib of course.

Good luck.

--Mehmet
Wodisch
Honored Contributor

Re: CUPS?

Hi,

have you tried "devresource.hp.com" already?

Just an idea,
Wodisch
Ben Wilson_4
Advisor

Re: CUPS?

Thanks for the help.

I emailed Easy Software about it, and they told me it may be a gcc bug, their code doesn't use pthreads at all...

Any way to tell make not use pthread, or another work around?

I think I'm getting in over my head, i'm an admin, not a programmer :)

Ben
Alzhy
Honored Contributor

Re: CUPS?

Ben.. anybody, were you able to get a clean compile of CUPS? I also have the same problem.. I am using gcc 3.3.2 from HP...
Hakuna Matata.