<?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:  Subject: Problem loading DLKM module: MOD: mod_obj_relone: Illegal relocation type R_IA_64_GPREL22 in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/subject-problem-loading-dlkm-module-mod-mod-obj-relone-illegal/m-p/3699996#M101415</link>
    <description>&lt;P&gt;You can NOT create DLKMs unless you use the HP's ANSI C or aC++ compilers. The bundled compiler is not supported for program development.&lt;/P&gt;</description>
    <pubDate>Sat, 19 Nov 2011 05:17:27 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2011-11-19T05:17:27Z</dc:date>
    <item>
      <title>Subject: Problem loading DLKM module: MOD: mod_obj_relone: Illegal relocation type R_IA_64_GPREL22</title>
      <link>https://community.hpe.com/t5/operating-system-linux/subject-problem-loading-dlkm-module-mod-mod-obj-relone-illegal/m-p/3699994#M101413</link>
      <description>Hi&lt;BR /&gt;   I am trying to compile and load one very basic module in hpux 11i v2 on IA machine. But when I give kcmodule mymod=best I get following error -&lt;BR /&gt;WARNING: MOD: mod_obj_relone: Illegal relocation type R_IA_64_GPREL22 42 (0x2a) in module /stand/current/mod/tmod. It may be due to incorrect compiler/linker options when building the module.&lt;BR /&gt;&lt;BR /&gt;I have the bundled cc installed on my machine (dont have ANSI/C compiler, as that needs to be purchased). As suggested earlier in the same thread, +Oshortdata=0 option is not supported in bundled compiler. Then how can I load a module with supplied compiler. Interesting is that I could do this in another same type IA machine, whose disk has gone bad due to some reason, and I rewrote the module...  wondering what I am doing wrong.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Fri, 30 Dec 2005 01:15:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/subject-problem-loading-dlkm-module-mod-mod-obj-relone-illegal/m-p/3699994#M101413</guid>
      <dc:creator>hp-ux technical documen</dc:creator>
      <dc:date>2005-12-30T01:15:55Z</dc:date>
    </item>
    <item>
      <title>Re:  Subject: Problem loading DLKM module: MOD: mod_obj_relone: Illegal relocation type R_IA_64_GPREL22</title>
      <link>https://community.hpe.com/t5/operating-system-linux/subject-problem-loading-dlkm-module-mod-mod-obj-relone-illegal/m-p/3699995#M101414</link>
      <description>Looking at : &lt;A href="http://docs.hp.com/en/dlkm-62001/ch01s03.html" target="_blank"&gt;http://docs.hp.com/en/dlkm-62001/ch01s03.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It suggests:&lt;BR /&gt;&lt;BR /&gt;For a 64-bit Itanium target machine, execute the following cc(1) command:&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt; /opt/ansic/bin/cc -I. -I/usr/conf -I/usr/conf/sys \  -Wp,-H300000 +kernel +Oshortdata=0 +XixdU +O2 +ESlit +DD64 \-Ae   -DLWSYSCALL -DPGPROF -DACLS -DAUDIT -DIDDS -D__ROSE__ \-DHPONCPLUS -DVARIABLE_UAREA -DSTCP -DIVT_INTERCEPT \-D_UNSUPPORTED -D_HPUX_SOURCE -D_XPG4_EXTENDED -D_KERNEL \ -D__STDC_EXT__ -D_CLEAN_BE -D_SYSCALL_64 -Â­_NO_PA_HDRS \-DKERNEL_DEBUGGER -U__IA64__ -U__hp9000s800 \-U__hp9000s700 -U__hppa   -o mod.o -c module_name.c &lt;BR /&gt;&lt;BR /&gt;I realize you are not using ANSI/C, but can you try the options listed above and see if that fixes it?&lt;BR /&gt;&lt;BR /&gt;Oz&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Jan 2006 17:37:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/subject-problem-loading-dlkm-module-mod-mod-obj-relone-illegal/m-p/3699995#M101414</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2006-01-02T17:37:41Z</dc:date>
    </item>
    <item>
      <title>Re:  Subject: Problem loading DLKM module: MOD: mod_obj_relone: Illegal relocation type R_IA_64_GPREL22</title>
      <link>https://community.hpe.com/t5/operating-system-linux/subject-problem-loading-dlkm-module-mod-mod-obj-relone-illegal/m-p/3699996#M101415</link>
      <description>&lt;P&gt;You can NOT create DLKMs unless you use the HP's ANSI C or aC++ compilers. The bundled compiler is not supported for program development.&lt;/P&gt;</description>
      <pubDate>Sat, 19 Nov 2011 05:17:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/subject-problem-loading-dlkm-module-mod-mod-obj-relone-illegal/m-p/3699996#M101415</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-11-19T05:17:27Z</dc:date>
    </item>
  </channel>
</rss>

