Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Apr 1996 11:58:09 -0800 (PST)
From:      "JULIAN Elischer" <julian@ref.tfs.com>
To:        kimhy@cs.ucsb.edu (Hyun J. Kim)
Cc:        bugs@freebsd.org
Subject:   Re: when I tried to compile pthreads-1_60_beta5.......
Message-ID:  <199604051958.LAA13881@ref.tfs.com>
In-Reply-To: <31657286.53C0@cs.ucsb.edu> from "Hyun J. Kim" at Apr 5, 96 11:20:38 am

next in thread | previous in thread | raw e-mail | index | archive | help
I believe we caught that but AFTER the 2.1 Release.
> 
> 
> > 
> > When I tried to compile pthreads-1_60_beta5 on my FreeBSD 2.1, I get 
> > following errors.
> > 
> > gcc -I. -Iinclude -I/root/pthreads3/pthreads-1_60_beta5/include 
> > -DPTHREAD_KERNEL -g -O -Werror -c 
> > /root/pthreads3/pthreads-1_60_beta5/pthreads/sleep.c -o obj/sleep.o
> > 
> > /root/pthreads3/pthreads-1_60_beta5/pthreads/sleep.c: In function 
> > `sleep_compare_time':
> > 
> > /root/pthreads3/pthreads-1_60_beta5/pthreads/sleep.c:64: structure has no 
> > member named `tv_sec'
> > 
> > /root/pthreads3/pthreads-1_60_beta5/pthreads/sleep.c:65: structure has no 
> > member named `tv_nsec'
> > 
> > 
> > I have also tried on Solaris 2.4, and it compiles without any error.  
> > Would you notify me how to fix this problem?
> > 
> > Thanks
> > 
> > Hyun 
> > kimhy@cs.ucsb.edu
>  
> Fix the FreeBSD header /usr/include/sys/timers.h to declare struct
> timespec
> to have tv_sec and tv_nsec, and report this as a bug to the FreeBSD
> team.
> I suspect they might have already fixed this but it's best to be sure.
> What happend is the POSIX.1b committee changed the declaration from
> ts_sec 
> and ts_nsec during one of the last drafts and that got standardized thus 
> screwing over all those that had released POSIX.1b functionality based
> on 
> an earlier draft which NetBSD-1.0, FreeBSD-2.1 and pthreads-1_60-beta4_1
> did.
>  
> CAP
> 
BTW you have a login on REF.tfs.com
(I forget the passwd.. will change it to foo42)
should you want to look at a running 2.2 system
it has a chroot environment that you will go to on login
which you can trash should you desire.
I will be upgrading it to the lates2 2.2 soon.






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604051958.LAA13881>