Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 03-06-2007, 06:26 AM   #1
Registered: Feb 2007
Posts: 37

Rep: Reputation: 15
Received Warnings and errors while compiling the Fedora Linux kernel

I am using Fedora Linux 2.6.18. I have updated file ~/linux- file.
I am working on a project and at first stage, I need to write the ipsec decrypted packets to disk.
For this reason, I have embeded the following code in "tcp_v6_rcv" function.

file_desc = open('/testlog.txt',O_WRONLY|O_APPEND);
file_write_status = write(file_desc,skb->data,skb->len);

When I compiling the kernel, I received the following warnings and errors
[root@localhost linux-]# make modules
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CC [M] net/ipv6/tcp_ipv6.o
net/ipv6/tcp_ipv6.c: In function ‘tcp_v6_rcv’:
net/ipv6/tcp_ipv6.c:1224: warning: implicit declaration of function ‘open’
net/ipv6/tcp_ipv6.c:1224:19: warning: character constant too long for its type
net/ipv6/tcp_ipv6.c:1225: warning: implicit declaration of function ‘write’
net/ipv6/tcp_ipv6.c:1226: warning: implicit declaration of function ‘close’
LD [M] net/ipv6/ipv6.o
Building modules, stage 2.
WARNING: drivers/atm/he.o - Section mismatch: reference to .init.text: from .text between 'he_start' (at offset 0x2074) and 'he_service_tbrq'
WARNING: "close" [net/ipv6/ipv6.ko] undefined!
WARNING: "open" [net/ipv6/ipv6.ko] undefined!
WARNING: "write" [net/ipv6/ipv6.ko] undefined!
CC net/ipv6/ipv6.mod.o
LD [M] net/ipv6/ipv6.ko

Any one has any idea about it to solve the warnings.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
errors in compiling linux-2.4.20-6 kernel vishwadeepak Linux - Kernel 3 12-08-2006 12:26 AM
errors while compiling linux 2.4.21 kernel!! sepkys Linux - Kernel 2 05-19-2006 06:16 AM
Errors Compiling Kernel 2.6 on Slackware 10.2 - Old kernel headers required? Dave S. Slackware 8 03-04-2006 12:15 AM
Compiling linux kernel (fedora 4) steveman2000 Linux - Newbie 9 10-23-2005 01:30 PM
warnings when compiling kernel dontest Linux - General 1 01-24-2003 04:49 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:31 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration