473,396 Members | 1,676 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Can't compile kernel-2.6.15-1.54 with gcc 4.1.0

Hi,

I am trying to compile kernel 2.6.15-1.54 of FC5. in BUILD/2.6.15-1.2054/README it says gcc should be above 3.2.0. I have gcc 4.1.0 but I am getting a lot of warning messages like:
CC [M] fs/xfs/xfs_bmap.o
fs/xfs/xfs_bmap.c: In function ‘xfs_bmap_alloc’:
fs/xfs/xfs_bmap.c:2326: warning: ‘rtx’ is used uninitialized in this function

when I do make and it gives error when I do 'make modules'.

I think this kernel I am trying to compile is compiled with some older version gcc.

Can any one suggest me a kernel which will compile well on gcc 4.1.0.


Thx,
Sep 8 '07 #1
1 1729
Hi,

I am trying to compile kernel 2.6.15-1.54 of FC5. in BUILD/2.6.15-1.2054/README it says gcc should be above 3.2.0. I have gcc 4.1.0 but I am getting a lot of warning messages like:
CC [M] fs/xfs/xfs_bmap.o
fs/xfs/xfs_bmap.c: In function ‘xfs_bmap_alloc’:
fs/xfs/xfs_bmap.c:2326: warning: ‘rtx’ is used uninitialized in this function

when I do make and it gives error when I do 'make modules'.

I think this kernel I am trying to compile is compiled with some older version gcc.

Can any one suggest me a kernel which will compile well on gcc 4.1.0.


Thx,
Hi want to update you all. Sorry for this late update!

I figured it out by upgrading gcc to 4.1.1-51 version. Since I downloaded latest kernel from net I should upgrade gcc to latest as always latest kernels are compiled on latest gcc before release.
Nov 19 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: zhouhaiming | last post by:
On our test machine I can compile my c source code on AIX5.1(ML4) by "- q32" option and "OBJECT_MODE=32" environment variable, and it can correctly running. My operation system environment is:...
3
by: Steven T. Hatton | last post by:
http://netlab.ru.is/exception/LinuxCXX.shtml We have implemented a complete kernel level run-time support for C++ in the Linux kernel. In particular our run-time support enables the full use of...
50
by: Romeo Colacitti | last post by:
Is the C library of most OSes (i.e, unix type OSes) implemented at the very low kernel or just outside kernel level? Looking through the source tree of Linux/BSDs it seems like the C library is...
4
by: rahul8143 | last post by:
hello, I have some inline declaration questions. 1)why new kernel 2.4.30 has intermediate function of __ instead of direct calling it? int ip_finish_output(struct sk_buff *skb) { return...
1
by: Marcel Groner | last post by:
I have a problem with postgresql runnung on smp kernel. setup: master: ------- - Pentium 4 (hyperthreading) - 2 GB Memory - os: fedora core 1 - kernel: 2.4.22-1.2188.nptlsmp
4
by: nickpreiser | last post by:
Hi Everyone, I trying to get a build of Python together to run on an Embedded Linux / Mips machine. I run the ./configure --host= XXXmips(my mips proc) --build=XXX x86(my pc). and the...
4
by: SiTTox | last post by:
Hi ppl. Pleace Help me to find information/source : how to encrypt file/ information in Linux/Unix only with Internal functions. without OpenSSL(and others) without writing own RSA,DES,PGP(and...
20
by: Jimmy | last post by:
Hi to all python now has grown to a versatile language that can accomplish tasks for many different purposes. However, AFAIK, little is known about its ability of kernel coding. So I am...
5
by: Zootal | last post by:
I have some c code that I would like to compile with visual studio, and retain c compatibility. IOW, converting it to c++ is not an option. Is there a way to configure the project to be compatible...
2
by: akhilesh.noida | last post by:
I am trying to compile glibc-2.5 for ARM based board. But I am getting errors while configuring it. Please check and give your inputs for resolving this. configure command : $...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.