From owner-freebsd-net Sun Jan 31 17:12:17 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA25119 for freebsd-net-outgoing; Sun, 31 Jan 1999 17:12:17 -0800 (PST) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from mail1.its.rpi.edu (mail1.its.rpi.edu [128.113.100.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA25105 for ; Sun, 31 Jan 1999 17:12:14 -0800 (PST) (envelope-from abdelm2@rpi.edu) Received: from rpi.edu (orff.ecse.rpi.edu [128.113.50.225]) by mail1.its.rpi.edu (8.8.8/8.8.6) with ESMTP id UAA144730 for ; Sun, 31 Jan 1999 20:13:42 -0500 Message-ID: <36B4FF4A.E35BEF66@rpi.edu> Date: Sun, 31 Jan 1999 20:11:38 -0500 From: Mohamed Abdel-Aal X-Mailer: Mozilla 4.5 [en] (X11; I; SunOS 5.6 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-net@FreeBSD.ORG Subject: Rebuilding kernel after modifying source code Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I am doing some TCP experiments which require modifying the source code. I added few simple file I/O commands to netinet/tcp_timer.c ; which required me to include stdio.h. While rebuilding the kernel, I got some conflicts between system.h and stdio.h specially with vprintf() . So I commented out the vprintf declaration in system.h (temp solutiuon). But now when I try to rebuild the kernel I get this error : .. .. .. tcp_timer.o: Undefined symbol `_fopen' referenced from text segment tcp_timer.o: Undefined symbol `_fprintf' referenced from text segment tcp_timer.o: Undefined symbol `_fclose' referenced from text segment *** Error code 1 Any ideas ? All I need to do is simply open a file and write few variables in it when retransmissions occur. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message