Visit Jeremy's Blog.
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 04-26-2004, 05:16 AM   #1
LQ Newbie
Registered: Apr 2003
Location: India
Distribution: Red Hat 8.0
Posts: 23

Rep: Reputation: 15
Question Error while 'make modules' -- Error in processor.h

Can you people tell me the details of the error snippets I am including with this. I got this error while trying to 'make modules'. I had a keen look at the processor.h header file and I could'nt able to understand what is wrong there in the structure in which loops_per_jifffy is decleared. If we change the loops_per_jiffy member variable to some thing else then this error will go out. Why it so? Again also some more preceeding error after that are also coming for the structure variable created for above mentioned structure. Please help me after a look the processor.h header file.

The error goes on like this:

/usr/src/linux-2.4/include/asm/processor.h:51: warning: parameter names
(without types) in function declaration
/usr/src/linux-2.4/include/asm/processor.h:51: field
`loops_per_jiffy_R_ver_str' declared as a function
/usr/src/linux-2.4/include/asm/processor.h:73: invalid suffix on integer
/usr/src/linux-2.4/include/asm/processor.h:73: parse error before numeric

If anybody have any idea regarding this please let me know. Thanks in advance.

With regards,
Old 04-26-2004, 01:59 PM   #2
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
The error is probably in line 51 or in one of the lines ahead of line 51. This looks like a problem where a parentheses, close parentheses, or some other syntax delimiter is missing. Then you get error messages on subsequent valid lines because the compiler is confused about the syntax.

Steve Stites
Old 04-26-2004, 11:41 PM   #3
Senior Member
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
probably a dependency problem, iv seen some dependency problems cause syntax errors like those before in other software packages, its probably missing a header or something... maybe a bad kernel config ? (I'm not sure of that tho, shouldn't it work either way?)
Old 04-29-2004, 03:38 AM   #4
LQ Newbie
Registered: Apr 2003
Location: India
Distribution: Red Hat 8.0
Posts: 23

Original Poster
Rep: Reputation: 15
I have found recently that it is because of a problem with same identifier named loops_per_jiffy which is as a fuction inside the modversions.h header file that I am explicitly including in gcc options. In the processer.h header file also this same identifier is there as a structure variable which is at line number 51. So if I rename that and compile it will compile smoothly. Why such a coincidence arises in header file? The author of processor.h header file is Linus Tolvards why he had'nt noticed that? So is it desirable to rename that to what we wish so that no errors from that line will come? But my question is that then how people compiled there 'make modules' with out any errors like this. I used the fresh source located in the /usr/src/linux-2.4 of the Red Hat installation. So if anybody know about these issues please let me know. Seeking for your comments.



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
make modules complie error..... hkl8324 Debian 1 06-14-2005 06:13 PM
Kernel 2.6 make modules error on RH9 t0mmy Linux - Newbie 3 04-08-2005 11:26 PM
error with make modules - pls help-output attached Dineth Linux - Software 7 12-29-2003 03:09 AM
updating to kernel 2.4.22 error 'make modules' concerning aic7 Mestax Linux - Newbie 1 09-23-2003 03:51 PM
'make modules' error liguorir Linux - Software 6 06-26-2003 06:34 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:20 AM.

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