-
New to Linux Program
what header file needed in kwrite? i have problem when compling my simple program...pls advise if the below program have any error...i have 13 error on that program...thanks for your help...
#include <linux/module.h> /* Needed by all modules */
#include <linux/kernel.h> /* Needed for KERN_ALERT */
int init_module(void)
{
printk("<1>Hello world 1.\n");
return 0;
}
void cleanup_module(void)
{
printk(KERN_ALERT "Goodbye world 1.\n");
}
Similar Threads
-
By kidder550 in forum MS Windows & New to Linux
Replies: 4
Last Post: 12-22-2005, 08:59 PM
-
By Mustang64 in forum General Support
Replies: 1
Last Post: 06-26-2004, 09:36 PM
-
By Bothersome in forum General Support
Replies: 7
Last Post: 05-30-2004, 05:57 PM
-
By Drago in forum General Support
Replies: 2
Last Post: 10-20-2003, 08:54 AM
-
By hughmax in forum General Support
Replies: 1
Last Post: 04-10-2003, 03:17 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

USB Type-A Flash Drive Metal Memory Stick High Speed USB Drive 128GB 256GB 512GB
$8.47

Critical BIOS ROM HPE ProLiant DL160 DL180 Gen9 (U20) U20_3.40_08_29_2024+iLO4
$7.99

Critical BIOS ROM HPE ProLiant BL460cWS46 Gen9 (I36) I36_3.40_08_29_2024+iLO4
$7.99

Critical BIOS ROM HPE ProLiant DL560 Gen9 (P85) P85_3.40_08_29_2024+iLO4
$7.99

Microsoft Windows 11 Pro 64-Bit USB Flash Drive Sealed with Product Key Card
$39.99

Microsoft Windows 11 Pro 64bit - New Sealed – Flash USB 1 PC
$49.99

1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot
$269.10

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90

Critical BIOS ROM HPE ProLiant DL580 Gen9 (U17) U17_3.40_08_29_2024+iLO4
$7.99

HM-USB-ISO
$400.00