<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Illegal relation type 72, for hpux 11i V1 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/illegal-relation-type-72-for-hpux-11i-v1/m-p/3740660#M786299</link>
    <description>First of all sorry for the typo.... it was "Illegal relocation type 72" instead of "Illegal relation type", well I tried figuring out what is wrong... so to give the complete scenerio.. I am linking many other .o files with the main module file, and creating a final mod.o to load. I am using the command "ld -r" to link these files. So While doing this exercise, couple of times I got "Illegal relocation type 72", and many other times I got " WARNING: MOD: mod_obj_relone: Illegal relocation type 58 in module /stand/dlkm/mod.d/basemod." And "NOTICE: MOD: mod_obj_load: Relocation in module /stand/dlkm/mod.d/basemod failed"...&lt;BR /&gt;I couldnt figure out till now the reason for the failure... some files link properly, and the module loads, but a couple files give this error... These files look good otherwise as I tested them independently..&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
    <pubDate>Tue, 28 Feb 2006 14:03:59 GMT</pubDate>
    <dc:creator>learner_1</dc:creator>
    <dc:date>2006-02-28T14:03:59Z</dc:date>
    <item>
      <title>Illegal relation type 72, for hpux 11i V1</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/illegal-relation-type-72-for-hpux-11i-v1/m-p/3740658#M786297</link>
      <description>Hi,&lt;BR /&gt;   I have written a dlkm module for HPUX 11iV1. When I  am trying to load the module through kmadmin -L &lt;MODULE&gt; command I am getting following error message -&lt;BR /&gt;Illegal relocation type 72 in module /stand/dlkm/mod.d/mymodule&lt;BR /&gt;Relocation in module /stand/dlkm/mod.d/mymodule failed.&lt;BR /&gt;&lt;BR /&gt;Can somebody tell me what went wrong.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/MODULE&gt;</description>
      <pubDate>Tue, 28 Feb 2006 07:32:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/illegal-relation-type-72-for-hpux-11i-v1/m-p/3740658#M786297</guid>
      <dc:creator>learner_1</dc:creator>
      <dc:date>2006-02-28T07:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: Illegal relation type 72, for hpux 11i V1</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/illegal-relation-type-72-for-hpux-11i-v1/m-p/3740659#M786298</link>
      <description>Hi,&lt;BR /&gt;sounds like a coding problem to me. However,&lt;BR /&gt;have you had a look at:&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/dlkm-62001/" target="_blank"&gt;http://docs.hp.com/en/dlkm-62001/&lt;/A&gt;&lt;BR /&gt;Especially the compiler/linker options in the "Sample DLKM WSIO Class Driver" section.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#28" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#28&lt;/A&gt;</description>
      <pubDate>Tue, 28 Feb 2006 07:47:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/illegal-relation-type-72-for-hpux-11i-v1/m-p/3740659#M786298</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-02-28T07:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Illegal relation type 72, for hpux 11i V1</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/illegal-relation-type-72-for-hpux-11i-v1/m-p/3740660#M786299</link>
      <description>First of all sorry for the typo.... it was "Illegal relocation type 72" instead of "Illegal relation type", well I tried figuring out what is wrong... so to give the complete scenerio.. I am linking many other .o files with the main module file, and creating a final mod.o to load. I am using the command "ld -r" to link these files. So While doing this exercise, couple of times I got "Illegal relocation type 72", and many other times I got " WARNING: MOD: mod_obj_relone: Illegal relocation type 58 in module /stand/dlkm/mod.d/basemod." And "NOTICE: MOD: mod_obj_load: Relocation in module /stand/dlkm/mod.d/basemod failed"...&lt;BR /&gt;I couldnt figure out till now the reason for the failure... some files link properly, and the module loads, but a couple files give this error... These files look good otherwise as I tested them independently..&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Tue, 28 Feb 2006 14:03:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/illegal-relation-type-72-for-hpux-11i-v1/m-p/3740660#M786299</guid>
      <dc:creator>learner_1</dc:creator>
      <dc:date>2006-02-28T14:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Illegal relation type 72, for hpux 11i V1</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/illegal-relation-type-72-for-hpux-11i-v1/m-p/3740661#M786300</link>
      <description>got the solution. I needed to compile the module and the related files with following options... (I was missing +ES1.Xindirect_calls) -&lt;BR /&gt;&lt;BR /&gt;/opt/ansic/bin/cc -I. -I/usr/conf -I/usr/conf/sys \&lt;BR /&gt;-Wp, -H300000 +Hx0 +R500 +ESsfc +ESssf +XixdU \&lt;BR /&gt;+ES1.Xindirect_calls +ESlit +02 +Oentrysched +Ofastaccess \&lt;BR /&gt;+DA2.0W +DS2.0 -Ae -DLWSYSCALL -DPGPROF -DACLS -DAUDIT \&lt;BR /&gt;-DIDDS -D__ROSE__ -DHPONCPLUS -D__ROSEVILLE__ \&lt;BR /&gt;-DSPP_OBP_BOOT -DSPP_RUNWAY_ERR_ENABLED -DPARISC \&lt;BR /&gt;-DRDB -DNEW_RDB -DKGDB_ON -DIVT_INTERCEPT -DCOMB_FLIPPER \&lt;BR /&gt;-DNEW_MFCTL_W -DSTCP -DIPSEC -D_UNSUPPORTED \&lt;BR /&gt;-D_HPUX_SOURCE -D_XPG4_EXTENDED -D_KERNEL -D__STDC_EXT__ \&lt;BR /&gt;-D_CLEAN_BE -D__TEMP64__ -D__hp9000s800 -D__NO_EM_HDRS \&lt;BR /&gt;-U__hp9000s700 -o mod.0 -c module_name.c</description>
      <pubDate>Wed, 01 Mar 2006 03:14:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/illegal-relation-type-72-for-hpux-11i-v1/m-p/3740661#M786300</guid>
      <dc:creator>learner_1</dc:creator>
      <dc:date>2006-03-01T03:14:19Z</dc:date>
    </item>
  </channel>
</rss>

