[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-questions
Subject: Re: Regarding pthread_mutex_init
From: "Vahe Khachikyan" <vahe () fh-konstanz ! de>
Date: 2001-06-30 15:45:57
[Download RAW message or body]
Sorry for late answer but I was out of home for a while.
I can't tell you anything about problem 1.
But about problem 2 I have just a question . You have "-pthread" flags in
your gcc's command line ?!
Linker on FreBSD links against libc_r instead of libc when you use this flag
.
At the moment no other ideas ;-((
--
Vahe
---
----- Original Message -----
From: "Ravi.C" <ravindran.chandra@wipro.com>
To: <freebsd-questions@FreeBSD.ORG>
Sent: Monday, June 18, 2001 7:09 AM
Subject: Regarding pthread_mutex_init
> Hi,
> We are calling pthread_mutex_init() function while writing gigabit
> ethernet device driver in FreeBSD 4.3. We are facing the following
> problem :
>
> Problem 1 :
> While doing make, In file /usr/src/include/pthread.h sched.h is
> not found.
>
> I figured out this file(sched.h) present in /usr/include/posix4 dir
> and copied the directory posix4 under /usr/src/include/posix4 and
> changed sched.h to posix4/sched.h.
>
> Then the make error went off.
>
> Problem 2: After doing the above dirty fix, when we try to load the
> driver using kldload, I am getting the following error :
>
> link_elf : symbol pthread_mutex_init undefined.
>
> Can anyone please tell me what is the problem?
>
> Thanks and Regards,
> Ravi.C
>
>
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic