From owner-freebsd-hackers Sun Apr 2 21:42:34 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from dnvrpop2.dnvr.uswest.net (dnvrpop2.dnvr.uswest.net [206.196.128.4]) by hub.freebsd.org (Postfix) with SMTP id 8610E37BA0B for ; Sun, 2 Apr 2000 21:42:26 -0700 (PDT) (envelope-from loughry@uswest.net) Received: (qmail 33791 invoked by alias); 3 Apr 2000 04:42:22 -0000 Delivered-To: fixup-freebsd-hackers@freebsd.org@fixme Received: (qmail 33761 invoked by uid 0); 3 Apr 2000 04:42:20 -0000 Received: from edialup145.dnvr.uswest.net (HELO miranda.dnvr.uswest.net) (207.225.103.145) by dnvrpop2.dnvr.uswest.net with SMTP; 3 Apr 2000 04:42:20 -0000 Received: (from loughry@localhost) by miranda.dnvr.uswest.net (8.9.3/8.9.3) id WAA00550 for freebsd-hackers@freebsd.org; Sun, 2 Apr 2000 22:42:17 -0600 (MDT) (envelope-from loughry) Date: Sun, 2 Apr 2000 22:42:17 -0600 (MDT) From: Joe Loughry Message-Id: <200004030442.WAA00550@miranda.dnvr.uswest.net> To: freebsd-hackers@freebsd.org Subject: Warning: Object directory not changed from original Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am writing a new graphical screen saver, based on an existing one (rain_saver.c) in 3.4-STABLE. The system is freshly CVSupped to RELENG_3 using src-all. I found the list of modules in /usr/src/sys/modules/syscons/Makefile and updated that. But the new program won't compile cleanly. Even when the new program (test_saver.c) is simply a copy of rain_saver.c with "test" substituted for "rain" throughout, I still get the same warning, and it leaves a mess in the build directory. All of the other screen savers compile cleanly. What's wrong? (By the way, the resulting test_saver.ko installs and runs fine; it just won't build cleanly.) Script started on Tue Mar 28 22:59:01 2000 miranda# pwd /usr/src/sys/modules/syscons/test miranda# make clean rm -f setdef0.c setdef1.c setdefs.h setdef0.o setdef1.o test_saver.ko test_saver.o @ machine lkm_verify_tmp symb.tmp tmp.o miranda# ls -al total 8 drwxr-xr-x 2 root wheel 512 Mar 28 22:59 . drwxr-xr-x 16 root wheel 512 Mar 28 22:30 .. -rw-r--r-- 1 root wheel 215 Mar 28 22:31 Makefile -rw-r--r-- 1 root wheel 3475 Mar 28 22:32 test_saver.c -rw-r--r-- 1 root wheel 43 Mar 28 22:59 typescript miranda# make Warning: Object directory not changed from original /usr/src/sys/modules/syscons/test @ -> /usr/src/sys machine -> /usr/src/sys/i386/include cc -O -pipe -I/usr/src/sys/modules/syscons/test/.. -DKERNEL -Wall -pedantic -DKLD_MODULE -nostdinc -I- -I/usr/src/sys/modules/syscons/test/.. -I/usr/src/sys/modules/syscons/test -I/usr/src/sys/modules/syscons/test/@ -c test_saver.c gensetdefs test_saver.o cc -O -pipe -I/usr/src/sys/modules/syscons/test/.. -DKERNEL -Wall -pedantic -DKLD_MODULE -nostdinc -I- -I/usr/src/sys/modules/syscons/test/.. -I/usr/src/sys/modules/syscons/test -I/usr/src/sys/modules/syscons/test/@ -c setdef0.c cc -O -pipe -I/usr/src/sys/modules/syscons/test/.. -DKERNEL -Wall -pedantic -DKLD_MODULE -nostdinc -I- -I/usr/src/sys/modules/syscons/test/.. -I/usr/src/sys/modules/syscons/test -I/usr/src/sys/modules/syscons/test/@ -c setdef1.c ld -Bshareable -o test_saver.ko setdef0.o test_saver.o setdef1.o miranda# pwd /usr/src/sys/modules/syscons/test miranda# ls -al total 21 drwxr-xr-x 2 root wheel 512 Mar 28 22:59 . drwxr-xr-x 16 root wheel 512 Mar 28 22:30 .. lrwxr-xr-x 1 root wheel 12 Mar 28 22:59 @ -> /usr/src/sys -rw-r--r-- 1 root wheel 215 Mar 28 22:31 Makefile lrwxr-xr-x 1 root wheel 25 Mar 28 22:59 machine -> /usr/src/sys/i386/include -rw-r--r-- 1 root wheel 360 Mar 28 22:59 setdef0.c -rw-r--r-- 1 root wheel 770 Mar 28 22:59 setdef0.o -rw-r--r-- 1 root wheel 235 Mar 28 22:59 setdef1.c -rw-r--r-- 1 root wheel 742 Mar 28 22:59 setdef1.o -rw-r--r-- 1 root wheel 28 Mar 28 22:59 setdefs.h -rw-r--r-- 1 root wheel 3475 Mar 28 22:32 test_saver.c -rwxr-xr-x 1 root wheel 4163 Mar 28 22:59 test_saver.ko -rw-r--r-- 1 root wheel 2608 Mar 28 22:59 test_saver.o -rw-r--r-- 1 root wheel 43 Mar 28 22:59 typescript miranda# make install install -c -o root -g wheel -m 555 test_saver.ko /modules miranda# ls -l /modules/test_saver.ko -r-xr-xr-x 1 root wheel 4163 Mar 28 22:59 /modules/test_saver.ko miranda# kldstat Id Refs Address Size Name 1 3 0xc0100000 1562d4 kernel 2 1 0xc078e000 6000 procfs.ko 7 1 0xc08ef000 2000 test_saver.ko miranda# exit Script done on Tue Mar 28 22:59:55 2000 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message