Date: Sun, 31 Jan 1999 20:11:38 -0500 From: Mohamed Abdel-Aal <abdelm2@rpi.edu> To: freebsd-net@FreeBSD.ORG Subject: Rebuilding kernel after modifying source code Message-ID: <36B4FF4A.E35BEF66@rpi.edu>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36B4FF4A.E35BEF66>