HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: hpux 11iv1 - "Undefined symbol $$divI" when d...
Operating System - HP-UX
1832920
Members
3080
Online
110048
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
05-24-2007 07:18 AM
05-24-2007 07:18 AM
Hi ,
I have a device driver that we developed and have installed on
several hpux 11iv1 systems without any problems for over a year.
We recently installed the driver on another hpux 11iv1 system
and the driver fails to load with the following in the syslog.log
May 23 07:58:00 hp15 vmunix: mod_obj_load: Undefined symbol $$divI in
loadable module /stand/dlkm/mod.d/mymod.
May 23 07:58:00 hp15 vmunix: WARNING: MOD: mod_obj_load:
Processing symbol table in module /stand/dlkm/mod.d/mymod failed
When I do an nm command on /stand/vmunix on the failing system , there is no symbol for $$divI however there are several other symbols like $$div2I and $$div2U among others.
On systems where the driver installs ok there is a symbol for $$divI .
Can anyone shed any light on why this is ? Is there anything I can do to correct
this ?
Regards
Gary
I have a device driver that we developed and have installed on
several hpux 11iv1 systems without any problems for over a year.
We recently installed the driver on another hpux 11iv1 system
and the driver fails to load with the following in the syslog.log
May 23 07:58:00 hp15 vmunix: mod_obj_load: Undefined symbol $$divI in
loadable module /stand/dlkm/mod.d/mymod.
May 23 07:58:00 hp15 vmunix: WARNING: MOD: mod_obj_load:
Processing symbol table in module /stand/dlkm/mod.d/mymod failed
When I do an nm command on /stand/vmunix on the failing system , there is no symbol for $$divI however there are several other symbols like $$div2I and $$div2U among others.
On systems where the driver installs ok there is a symbol for $$divI .
Can anyone shed any light on why this is ? Is there anything I can do to correct
this ?
Regards
Gary
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2007 06:26 PM
05-24-2007 06:26 PM
Solution
Unfortunately I don't know the party line on this issue. Ideally if you use HP's supplied tools to create the DLKM, that symbol should be linked into it.
Note these millicode symbols are not normally needed if you optimize because the floating point unit is used.
To satisfy your unsat, you can add the following to your link line: -l:milli.a
Of course if there are symbols for $$div2I and $$div2U, you can always cast your int to a long.
Note these millicode symbols are not normally needed if you optimize because the floating point unit is used.
To satisfy your unsat, you can add the following to your link line: -l:milli.a
Of course if there are symbols for $$div2I and $$div2U, you can always cast your int to a long.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2007 11:17 PM
05-24-2007 11:17 PM
Re: hpux 11iv1 - "Undefined symbol $$divI" when device driver loads
Dennis,
I did use the DLKM example code and make files as a start for the development of the driver a couple years back. I even use HP's
compiler.
So I guess its one of lifes little mysteries that we all run into on occasion.
I will try your suggestion -l:milli.a rather than change the var types because I don't know if some other kernel image will be missing those.
I'll report status when I try this.
Thanks for your help.
Regards
Gary
I did use the DLKM example code and make files as a start for the development of the driver a couple years back. I even use HP's
compiler.
So I guess its one of lifes little mysteries that we all run into on occasion.
I will try your suggestion -l:milli.a rather than change the var types because I don't know if some other kernel image will be missing those.
I'll report status when I try this.
Thanks for your help.
Regards
Gary
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