This message generated a parse failure. Raw output follows here. Please use 'back' to navigate. From devnull@lkml.org Wed Apr 24 11:08:01 2024 Received: from nic.funet.fi (nic.funet.fi [193.166.0.145]) by herbie.ucs.indiana.edu (8.10.1/8.10.1) with ESMTP id e794t1t08222 for ; Tue, 8 Aug 2000 23:55:01 -0500 (EST) Received: from vger.rutgers.edu ([128.6.190.2]:23627 "EHLO vger.rutgers.edu" ident: "NO-IDENT-SERVICE[2]" smtp-auth: TLS-CIPHER: ) by nic.funet.fi with ESMTP id ; Wed, 9 Aug 2000 07:48:16 +0300 Received: (majordomo@vger.rutgers.edu) by vger.rutgers.edu via listexpand id ; Wed, 9 Aug 2000 00:17:48 -0400 Received: by vger.rutgers.edu id ; Wed, 9 Aug 2000 00:15:50 -0400 Received: from web6101.mail.yahoo.com ([128.11.22.95]:3390 "HELO web6101.mail.yahoo.com") by vger.rutgers.edu with SMTP id ; Wed, 9 Aug 2000 00:12:20 -0400 Message-Id: <20000809043814.7649.qmail@web6101.mail.yahoo.com> Received: from [128.226.140.158] by web6101.mail.yahoo.com; Tue, 08 Aug 2000 21:38:14 PDT Date: Tue, 8 Aug 2000 21:38:14 -0700 (PDT) From: Mahesh Mahadevan Subject: Adding Files to the Linux Kernel To: linux-kernel@vger.rutgers.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-linux-kernel@vger.rutgers.edu Precedence: bulk X-Loop: majordomo@vger.rutgers.edu Hi All, I have added 2 new files to the Linux kernel 1) a new .h (in /usr/include/linux/myheader.h) 2) a new .c (in /usr/src/linux/net/ipv4/myfile.c). I compiled the kernel and rebooted using my kernel (which has the new .h and .c files). I wrote a C program which included the new header ( #include ) that I wrote and have compiled into the kernel, but for some reason my program is not able to access the new files I have added and I get undefined reference error while compiling the program. How do I make gcc look for the new files I have compiled into the kernel. Thanks. -Mahesh  __________________________________________________ Do You Yahoo!? Kick off your party with Yahoo! Invites. http://invites.yahoo.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/