pthread compiler issues

Clifton Royston cliftonr at tikitechnologies.com
Tue May 10 17:23:18 PDT 2005


On Tue, May 10, 2005 at 05:11:59PM -0700, vizion at ixpres.com wrote:
> Twas said by " Kris Kennaway" and my ignorance encourages me to join the
> dialogue
> > On Tue, May 10, 2005 at 04:29:00PM -0700, vizion at ixpres.com wrote:
> >> I have had problems compiling packages generating pthread error
> >> messages.
> >> I am running FreeBSD 5.3. with linux support. This time it was firefox
> >> based with tar balls -1.0.1 & 1.0.2.
...
> >
> > You've given us nothing to comment on.  Show exactly what you're doing
> > and what problems you encountered.
> Here is the terminating output -- let meknow if you need any earlier output :
> -------
> 
> /usr/local/lib/libgthread-2.0.so: undefined reference to
> 'pthread_attr_destroy'
> /usr/local/lib/libgthread-2.0.so: undefined reference to 'pthread_create'
> /usr/local/lib/libgthread-2.0.so: undefined reference to 'pthread_attr_init'
> /usr/local/lib/libgthread-2.0.so: undefined reference to 'pthread_exit'
> /usr/local/lib/libgthread-2.0.so: undefined reference to 'pthread_equal'
> /usr/local/lib/libgthread-2.0.so: undefined reference to
> 'pthread_getschedparam'

  Well, this seems rather like the same problem I was having several
weeks back trying to build MySQL from ports on a 4.10 system (with or
without enabling Linuxthreads.) That's what induced me to subscribe to
-questions, since I would have felt too dumb posting the question to
-hackers.  It seemed as though the build process was just plain failing
to link certain libraries which I could see were there on the command
line to cc.

  At the moment I have no helpful suggestions to offer you.  I never
got any suggestions other than to try rebuilding libtool 1.5, which I
did, and which didn't seem to help.

  I did confirm that it was not a problem with the port, as I was able
to build it just fine on a different 4.x system.  The system is not
broken or crippled, as I've been able to install the binary package on
the system which couldn't build it, and have been running it just fine. 
I still have not figured out why I can't build this specific app from
ports on this one machine.

  I will be very interested if you get anywhere with this, and if I get
anywhere on going back to the problem - which I need to do eventually -
I will post a followup.

  -- Clifton

-- 
          Clifton Royston  --  cliftonr at tikitechnologies.com 
         Tiki Technologies Lead Programmer/Software Architect
"I'm gonna tell my son to grow up pretty as the grass is green
And whip-smart as the English Channel's wide..."
                                            -- 'Whip-Smart', Liz Phair


More information about the freebsd-questions mailing list