Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-27-2003, 02:56 PM   #1
LQ Newbie
Registered: Jun 2003
Posts: 4

Rep: Reputation: 0
Unhappy Error compiling Module in Linux kernel

I get the following error when I tru to compile the module

/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../crt1.o: In function _start:
..... undefine reference to main

is it expecting a main function ? I have another module with everything similar ...which compiles fine ...


Old 06-27-2003, 07:06 PM   #2
LQ Guru
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 11
Posts: 8,207

Rep: Reputation: 507Reputation: 507Reputation: 507Reputation: 507Reputation: 507Reputation: 507
kernel 2.4.21

What version of the kernel are you trying to compile? kernel 2.4.21 is very buggy. If you are compiling 2.4.21 then I suggest that you apply kernel patches ac1, ac2, ac3, and ac4 and then try again.


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Error] Kernel Module : No kernel module build environment saman007uk Debian 7 09-09-2006 06:34 PM
Compiling Linux Kernel - VFS error. Help. sceadu Red Hat 1 03-14-2005 08:42 AM
Compiling kernel module for linux kernel 2.4 in 2.6 guam Linux - Software 0 01-13-2005 02:02 AM
Error while compiling Linux 2.6.5-7 Kernel Kizio Linux - Software 4 12-13-2004 08:45 PM
error compiling the kernel linux-2.6.5 shams Mandriva 9 05-25-2004 09:44 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:44 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
Open Source Consulting | Domain Registration