Does no one know how to compile a program with the myisam
library?

  I will gladly put together a simple document on it for others
if someone can just point me in the proper direction, i.e. which
header files are required (I get a bunch of warnings if I just 
include myisam.h), and what the proper gcc line is to link 
everything in right is...


On Thu, Oct 24, 2002 at 10:36:49AM -0400, Anthony R. J. Ball wrote:
>   
>   Hi all... I am attempting to play with the myisam
> api to try to make loading hordes of data a little
> simpler/faster, and so am trying out the myisam interface...
> specifically, eventually to try an wrap it in a perl
> module. Herein lies my problem...
> 
>   I know enough C to get by, but am having some problems
> with getting the myisam lib linked right, and the includes
> right...
> 
>   Could someone give me the proper compiler arguments
> and header includes to get me started?
> 
>   I tried -lmyisam, but when I compile I get 
> /tmp/ccTiEnWS.o: In function `main':
> /tmp/ccTiEnWS.o(.text+0x13): undefined reference to `mi_open'
> 
>   I would appreciate any help, I haven't been able to find
> any sample code online... I may even be able to release the perl
> module (if I can get it to work...)
> 
>   I am testing for now on Linux, but in the end I want
> this to work on Solaris...
> 
>   Here are the words sql and query, so this message will
> post ;)
> 
> -- 
>  ___  __  __    __  _  _  ____    _  _  ____  ____ 
> / __)(  )(  )  /__\( \/ )( ___)  ( \( )( ___)(_  _)
> \__ \ )(__)(  /(__)\\  /  )__)    )  (  )__)   )(  
> (___/(______)(__)(__)\/  (____)()(_)\_)(____) (__) 
> "These are the times that try men's souls." - T. Paine
> 
> 
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
> 
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
> 

-- 
 ___  __  __    __  _  _  ____    _  _  ____  ____ 
/ __)(  )(  )  /__\( \/ )( ___)  ( \( )( ___)(_  _)
\__ \ )(__)(  /(__)\\  /  )__)    )  (  )__)   )(  
(___/(______)(__)(__)\/  (____)()(_)\_)(____) (__) 
These special effects aren't very special.


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to