Date: Fri, 21 Sep 2001 18:01:43 -1000 (HST) From: Vincent Poy <vince@oahu.WURLDLINK.NET> To: John Baldwin <jhb@FreeBSD.ORG> Cc: <cvs-all@FreeBSD.ORG>, <cvs-committers@FreeBSD.ORG>, <current@FreeBSD.ORG> Subject: RE: cvs commit: src/sys/sys mutex.h - it's working! Message-ID: <20010921175920.D60530-100000@oahu.WURLDLINK.NET> In-Reply-To: <20010921174313.X60530-100000@oahu.WURLDLINK.NET>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 21 Sep 2001, Vincent Poy wrote: > On Fri, 21 Sep 2001, John Baldwin wrote: > > > On 21-Sep-01 John Baldwin wrote: > > > jhb 2001/09/21 16:15:10 PDT > > > > > > Modified files: > > > sys/sys mutex.h > > > Log: > > > Use __FILE__ and __LINE__ explicitly since we know we will be using > them > > > when calling _mtx_assert() to prevent mtx_assert() from requiring > > > sys/lock.h as well as sys/mutex.h. > > > > This fixes the COMPAT_SVR4 breakage. > > Seems to still be broken... > > cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -fformat-extensions -ansi -g -nostdinc -I- -I. > -I/usr/src/sys -I/usr/src/sys/dev -I/usr/src/sys/contrib/dev/acpica > -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/../include -D_KERNEL > -include opt_global.h -elf -mpreferred-stack-boundary=2 > /usr/src/sys/compat/svr4/svr4_resource.c > /usr/src/sys/compat/svr4/svr4_resource.c: In function > `svr4_sys_getrlimit': > /usr/src/sys/compat/svr4/svr4_resource.c:143: `LOCK_FILE' undeclared > (first use in this function) > /usr/src/sys/compat/svr4/svr4_resource.c:143: (Each undeclared identifier > is reported only once > /usr/src/sys/compat/svr4/svr4_resource.c:143: for each function it appears > in.) > /usr/src/sys/compat/svr4/svr4_resource.c:143: `LOCK_LINE' undeclared > (first use in this function) > /usr/src/sys/compat/svr4/svr4_resource.c: In function > `svr4_sys_setrlimit': > /usr/src/sys/compat/svr4/svr4_resource.c:191: `LOCK_FILE' undeclared > (first use in this function) > /usr/src/sys/compat/svr4/svr4_resource.c:191: `LOCK_LINE' undeclared > (first use in this function) > /usr/src/sys/compat/svr4/svr4_resource.c: In function > `svr4_sys_getrlimit64': > /usr/src/sys/compat/svr4/svr4_resource.c:241: `LOCK_FILE' undeclared > (first use in this function) > /usr/src/sys/compat/svr4/svr4_resource.c:241: `LOCK_LINE' undeclared > (first use in this function) > /usr/src/sys/compat/svr4/svr4_resource.c: In function > `svr4_sys_setrlimit64': > /usr/src/sys/compat/svr4/svr4_resource.c:289: `LOCK_FILE' undeclared > (first use in this function) > /usr/src/sys/compat/svr4/svr4_resource.c:289: `LOCK_LINE' undeclared > (first use in this function) > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/PELE. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. It's working. For whatever reason, when I did the cvsup from cvsup10.FreeBSD.ORG an hour after your commit, it shows mutex.h 1.40 so I proceeded with the build afterwards. After I wrote the above, I checked the file and it was still 1.39 so another cvsup put it at 1.40 and it compiles fine now. Thanks for the efforts! Cheers, Vince - vince@WURLDLINK.NET - Vice President ________ __ ____ Unix Networking Operations - FreeBSD-Real Unix for Free / / / / | / |[__ ] WurldLink Corporation / / / / | / | __] ] San Francisco - Honolulu - Hong Kong / / / / / |/ / | __] ] HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[____] Almighty1@IRC - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010921175920.D60530-100000>