HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: module compilation
Operating System - Linux
1832208
Members
2474
Online
110040
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2003 02:58 AM
10-09-2003 02:58 AM
How can I recompile module that was built for a certain kernel (2.4.20-8) to work with a customly built kernel (2.4.20-8custom)-for example.
thanks.
thanks.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2003 03:40 AM
10-09-2003 03:40 AM
Re: module compilation
If the module is part of the Kernel source and you have configured your kernel accordingly a make modules should build it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2003 03:54 AM
10-09-2003 03:54 AM
Solution
and if now, you should use something like
cc -D__KERNEL__ -DMODULE -Wall -O2 -I/usr/src/linux/include
-DSVGALIB_HELPER_MAJOR=209 -c -o main.o main.c
Usually you will found such command line into module .c file or you'll get some installation script or even source rpm.
Rgds,
Vitaly
cc -D__KERNEL__ -DMODULE -Wall -O2 -I/usr/src/linux/include
-DSVGALIB_HELPER_MAJOR=209 -c -o main.o main.c
Usually you will found such command line into module .c file or you'll get some installation script or even source rpm.
Rgds,
Vitaly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2003 04:02 AM
10-09-2003 04:02 AM
Re: module compilation
Probably you didn't understand.I have this module for anti virus. it was built for specified above kernel and doesn't work on custom (also specified above) kernel. How can I adjust this module to work on custom kernel.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP