HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Kernel rebuild problems
Operating System - HP-UX
1838334
Members
3206
Online
110125
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
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
01-08-2003 02:37 PM
01-08-2003 02:37 PM
Kernel rebuild problems
Tried to rebuild kernel with sam and manually. Keep getting the following errors:
Generating module: krm...
nm: mod_wk.d/krm/mod.o: File format not recognized
nm: mod_wk.d/krm/_mod.o: File format not recognized
/usr/ccs/bin/ar: /usr/conf/lib/libwhat.a: File format not recognized
*** Error exit code 1 (ignored)
Compiling conf.c...
/usr/ccs/bin/ar: /usr/conf/lib/libinit-pdk.a: File format not recognized
*** Error exit code 1
Assistance appreciated.
Generating module: krm...
nm: mod_wk.d/krm/mod.o: File format not recognized
nm: mod_wk.d/krm/_mod.o: File format not recognized
/usr/ccs/bin/ar: /usr/conf/lib/libwhat.a: File format not recognized
*** Error exit code 1 (ignored)
Compiling conf.c...
/usr/ccs/bin/ar: /usr/conf/lib/libinit-pdk.a: File format not recognized
*** Error exit code 1
Assistance appreciated.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 09:20 PM
01-08-2003 09:20 PM
Re: Kernel rebuild problems
Hi,
could you check whether the LANG has been set to default C. (use 'locale' command). in one my machine it looks like this.
# locale
LANG=
LC_CTYPE="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_MESSAGES="C"
LC_ALL=
could you check whether the LANG has been set to default C. (use 'locale' command). in one my machine it looks like this.
# locale
LANG=
LC_CTYPE="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_MESSAGES="C"
LC_ALL=
never give up
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 12:05 AM
01-09-2003 12:05 AM
Re: Kernel rebuild problems
Hi,
check if the file exist and is ok:
# ll /usr/conf/lib/libwhat.a
-r--r--r-- 1 bin bin 23612 Oct 29
13:22 /usr/conf/lib/libwhat.a
# cksum /usr/conf/lib/libwhat.a
2866354446 23612 /usr/conf/lib/libwhat.a
If not please copy the libwhat.a from a other system to /usr/conf/lib/
Regards,
Armin
check if the file exist and is ok:
# ll /usr/conf/lib/libwhat.a
-r--r--r-- 1 bin bin 23612 Oct 29
13:22 /usr/conf/lib/libwhat.a
# cksum /usr/conf/lib/libwhat.a
2866354446 23612 /usr/conf/lib/libwhat.a
If not please copy the libwhat.a from a other system to /usr/conf/lib/
Regards,
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 12:13 AM
01-09-2003 12:13 AM
Re: Kernel rebuild problems
Looks like your created objects and archives are in a somewhat weird state. Is it possible that you have some other (e.g. GNU binutils) stuff in your PATH before /usr/bin?
Maybe the *.a and *.o files where not created by the HP versions of ld and ar... causing the commands in ccs not to recognize them.
Best regards...
Dietmar.
Maybe the *.a and *.o files where not created by the HP versions of ld and ar... causing the commands in ccs not to recognize them.
Best regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
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