[Lcdproc] OpenBSD 3.9 : undefined symbol 'i386_get_ioperm'

Mickael Dudikoff citizengen@yahoo.fr
Sun Aug 27 09:43:02 2006


--0-451578942-1156671718=:50753
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Thanks!

I tried compiling that way
# env AUTOCONF_VERSION=2.57 gmake -li386                                                            
But it does not solve the problem, i still have the same error.

BTW according to the ./configure output it seems to automatically use the -li386 option :

checking for i386_get_ioperm in -li386... yes
checking for iopl... no
checking for ioperm... no
checking sys/io.h usability... no
checking sys/io.h presence... no
checking for sys/io.h... no

I wonder if the error is related to the fact that sysctl seems unusable :

checking sys/sysctl.h usability... no
checking sys/sysctl.h presence... yes
configure: WARNING: sys/sysctl.h: present but cannot be compiled
configure: WARNING: sys/sysctl.h:     check for missing prerequisite headers?
configure: WARNING: sys/sysctl.h: see the Autoconf documentation
configure: WARNING: sys/sysctl.h:     section "Present But Cannot Be Compiled"
configure: WARNING: sys/sysctl.h: proceeding with the preprocessor's result
configure: WARNING: sys/sysctl.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------------- ##
configure: WARNING:     ## Report this to lcdproc@lists.omnipotent.net ##
configure: WARNING:     ## ------------------------------------------- ##
checking for sys/sysctl.h... yes



Markus Dolze <bsdfan@nurfuerspam.de> a écrit : -------- Original-Nachricht --------
Datum: Sun, 27 Aug 2006 09:50:17 +0200 (CEST)
Von: Mickael Dudikoff 
An: lcdproc@lists.omnipotent.net
Betreff: [Lcdproc] OpenBSD 3.9 : undefined symbol \'i386_get_ioperm\'

>   Hi all,
> 
> I am trying to use LCDProc on OpenBSD 3.9 in order to use a hd44780
> controler.
> 
> Compilation works instantly but when i start LCDd, i get the following
> messages :
> 
> #LCDd                                                                     
>                                                           
> LCDd:server/drivers/hd44780.so: undefined symbol 'i386_get_ioperm'
> LCDd:server/drivers/hd44780.so: undefined symbol 'i386_set_ioperm'
> 
> According to the various posts related to ioperm that i found, the problem
> seems to come from OpenBSD's i386_get_ioperm which is not the same as on
> on the other platforms, but i can not find one trick to solve the problem.
> 
> I compiled LCDProc with the following lines :
> 
> # env AUTOCONF_VERSIonfiltered=2.57 ./configure --prefix=/usr/local
> --enable-debug --enable-drivers=hd44780
>  # env AUTOCONF_VERSIonfiltered=2.57 gmake
> 
> Any help will be greatly appreciated :)
>    

Hello,

I am on vacation, so I cannot test this. According to the man page

"Code using the i386_get_ioperm() and i386_set_ioperm() functions
must be compiled using -li386."

This may be missing.

Regards
Markus Dolze


 		
---------------------------------
 Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. Cliquez ici. 
--0-451578942-1156671718=:50753
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Thanks!<br><br>I tried compiling that way<br># env AUTOCONF_VERSION=2.57 gmake -li386&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>But it does not solve the problem, i still have the same error.<br><br>BTW according to the ./configure output it seems to automatically use the -li386 option :<br><br>checking for i386_get_ioperm in -li386... yes<br>checking for iopl... no<br>checking for ioperm... no<br>checking sys/io.h usability... no<br>checking sys/io.h presence... no<br>checking for sys/io.h... no<br><br>I wonder if the error is related to the fact that sysctl seems unusable :<br><br>checking sys/sysctl.h usability... no<br>checking sys/sysctl.h presence...
 yes<br>configure: WARNING: sys/sysctl.h: present but cannot be compiled<br>configure: WARNING: sys/sysctl.h:&nbsp;&nbsp;&nbsp;&nbsp; check for missing prerequisite headers?<br>configure: WARNING: sys/sysctl.h: see the Autoconf documentation<br>configure: WARNING: sys/sysctl.h:&nbsp;&nbsp;&nbsp;&nbsp; section "Present But Cannot Be Compiled"<br>configure: WARNING: sys/sysctl.h: proceeding with the preprocessor's result<br>configure: WARNING: sys/sysctl.h: in the future, the compiler will take precedence<br>configure: WARNING:&nbsp;&nbsp;&nbsp;&nbsp; ## ------------------------------------------- ##<br>configure: WARNING:&nbsp;&nbsp;&nbsp;&nbsp; ## Report this to lcdproc@lists.omnipotent.net ##<br>configure: WARNING:&nbsp;&nbsp;&nbsp;&nbsp; ## ------------------------------------------- ##<br>checking for sys/sysctl.h... yes<br><br><br><br><b><i>Markus Dolze &lt;bsdfan@nurfuerspam.de&gt;</i></b> a écrit&nbsp;:<blockquote class="replbq" style="border-left: 2px solid rgb(16,
 16, 255); margin-left: 5px; padding-left: 5px;"> -------- Original-Nachricht --------<br>Datum: Sun, 27 Aug 2006 09:50:17 +0200 (CEST)<br>Von: Mickael Dudikoff <citizengen@yahoo.fr><br>An: lcdproc@lists.omnipotent.net<br>Betreff: [Lcdproc] OpenBSD 3.9 : undefined symbol \'i386_get_ioperm\'<br><br>&gt;   Hi all,<br>&gt; <br>&gt; I am trying to use LCDProc on OpenBSD 3.9 in order to use a hd44780<br>&gt; controler.<br>&gt; <br>&gt; Compilation works instantly but when i start LCDd, i get the following<br>&gt; messages :<br>&gt; <br>&gt; #LCDd                                                                     <br>&gt;                                                           <br>&gt; LCDd:server/drivers/hd44780.so: undefined symbol 'i386_get_ioperm'<br>&gt; LCDd:server/drivers/hd44780.so: undefined symbol 'i386_set_ioperm'<br>&gt; <br>&gt; According to the various posts related to ioperm that i found, the problem<br>&gt; seems to come from OpenBSD's i386_get_ioperm which is
 not the same as on<br>&gt; on the other platforms, but i can not find one trick to solve the problem.<br>&gt; <br>&gt; I compiled LCDProc with the following lines :<br>&gt; <br>&gt; # env AUTOCONF_VERSIonfiltered=2.57 ./configure --prefix=/usr/local<br>&gt; --enable-debug --enable-drivers=hd44780<br>&gt;  # env AUTOCONF_VERSIonfiltered=2.57 gmake<br>&gt; <br>&gt; Any help will be greatly appreciated :)<br>&gt;    <br><br>Hello,<br><br>I am on vacation, so I cannot test this. According to the man page<br><br>"Code using the i386_get_ioperm() and i386_set_ioperm() functions<br>must be compiled using -li386."<br><br>This may be missing.<br><br>Regards<br>Markus Dolze<br></citizengen@yahoo.fr></blockquote><br><p>&#32;
		<hr size="1"> 
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! 
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. <a href="http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com">Cliquez ici</a>. 

--0-451578942-1156671718=:50753--