-
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

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p
$499.88

HPE DL360 G10 CTO Server W/ 2x800W 1x LP PCIE RISER 1xFLEXROM 2XHIGH PERF FANS
$200.00

MICROSOFT WINDOWS SERVER 2025 RDS 50 CAL NEW Factory Sealed
$136.87

Windows Server 2025 Standard Edition - 24 Core License
$238.00

Dell PowerEdge R640 1U 8SFF Server Barebones 2x Gold 5120 64GB H330 2x 750w
$538.88

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$484.99

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO
$308.00

Dell PowerEdge R640 1U 8SFF Server Barebones 2x Gold 6150 64GB 2x 750w
$218.88

Windows Server 2025 datacenter 64bit 24 Core 50 cal DVD + PRODUCT LICENSE KEY
$44.54

Dell EMC VxRail E560F 10-SFF 2*Gold 6230R 2.1GHz No RAM HBA330 iDrac Ent Server
$349.99