ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am tyring to get a full text search into the website using onix. the thing compiled fine for windoze, but having problems in linux. The compiler gives an error with a list of functions, whose definitions are not found. I guess they are in a file called onix.a, which i have downloaded, but the compiler cannot read it. plz someone help me out.
thanx in advance
Last edited by subhasis_ray; 09-04-2002 at 05:05 AM.
gcc -L/usr/include -lonix test.cpp
/tmp/ccV4tqnn.o: In function `main':
/tmp/ccV4tqnn.o(.text+0x63a): the `gets' function is dangerous and should not be used.
/tmp/ccV4tqnn.o: In function `scan(_IO_FILE *, void *)':
/tmp/ccV4tqnn.o(.text+0xf1): undefined reference to `ixStoreRecordData'
/tmp/ccV4tqnn.o(.text+0x18a): undefined reference to `ixIndexWord'
/tmp/ccV4tqnn.o(.text+0x1ca): undefined reference to `ixIndexWord'
/tmp/ccV4tqnn.o(.text+0x1ec): undefined reference to `ixStoreRecordData'
/tmp/ccV4tqnn.o(.text+0x23b): undefined reference to `ixProcessRecordID'
/tmp/ccV4tqnn.o(.text+0x26a): undefined reference to `ixProcessRecordID'
/tmp/ccV4tqnn.o(.text+0x286): undefined reference to `ixIncrementRecord'
/tmp/ccV4tqnn.o(.text+0x321): undefined reference to `ixStoreRecordData'
/tmp/ccV4tqnn.o(.text+0x36c): undefined reference to `ixProcessRecordID'
/tmp/ccV4tqnn.o(.text+0x39b): undefined reference to `ixProcessRecordID'
/tmp/ccV4tqnn.o(.text+0x3b7): undefined reference to `ixIncrementRecord'
/tmp/ccV4tqnn.o(.text+0x401): undefined reference to `ixStoreRecordData'
/tmp/ccV4tqnn.o: In function `main':
/tmp/ccV4tqnn.o(.text+0x488): undefined reference to `ixCreateIndexManager'
/tmp/ccV4tqnn.o(.text+0x6dd): undefined reference to `ixCreateIndexCreationParams'
/tmp/ccV4tqnn.o(.text+0x6fa): undefined reference to `ixSetIndexCreationParams'
/tmp/ccV4tqnn.o(.text+0x71c): undefined reference to `ixSetIndexCreationParams'
/tmp/ccV4tqnn.o(.text+0x786): undefined reference to `ixSetIndexCreationParams'
/tmp/ccV4tqnn.o(.text+0x7a6): undefined reference to `ixSetIndexCreationParams'
/tmp/ccV4tqnn.o(.text+0x816): undefined reference to `ixSetIndexCreationParams'
/tmp/ccV4tqnn.o(.text+0x829): more undefined references to `ixSetIndexCreationParams' follow
/tmp/ccV4tqnn.o: In function `main':
/tmp/ccV4tqnn.o(.text+0x9b7): undefined reference to `ixCreateIndexEx'
/tmp/ccV4tqnn.o(.text+0x9c6): undefined reference to `ixDeleteIndexCreationParams'
/tmp/ccV4tqnn.o(.text+0xa0b): undefined reference to `ixCloseIndex'
/tmp/ccV4tqnn.o(.text+0xa9b): undefined reference to `ixOpenIndex'
/tmp/ccV4tqnn.o(.text+0xaee): undefined reference to `ixEndIndexingSession'
/tmp/ccV4tqnn.o(.text+0xb3c): undefined reference to `ixStartIndexingSession'
/tmp/ccV4tqnn.o(.text+0xe5b): undefined reference to `ixEndRetrievalSession'
/tmp/ccV4tqnn.o(.text+0xe9c): undefined reference to `ixStartRetrievalSession'
/tmp/ccV4tqnn.o(.text+0xf00): undefined reference to `ixSetFinalIndexDataPosition'
/tmp/ccV4tqnn.o(.text+0xfaa): undefined reference to `ixConvertQuery'
/tmp/ccV4tqnn.o(.text+0xff8): undefined reference to `ixConvertQuery'
/tmp/ccV4tqnn.o(.text+0x1029): undefined reference to `ixProcessQuery'
/tmp/ccV4tqnn.o(.text+0x1074): undefined reference to `ixProcessQuery'
/tmp/ccV4tqnn.o(.text+0x10d9): undefined reference to `ixProcessQuery'
/tmp/ccV4tqnn.o(.text+0x125a): undefined reference to `ixFindKey'
/tmp/ccV4tqnn.o(.text+0x12d0): undefined reference to `ixCurrentKey'
/tmp/ccV4tqnn.o(.text+0x135a): undefined reference to `ixPreviousKey'
/tmp/ccV4tqnn.o(.text+0x13e8): undefined reference to `ixNextKey'
/tmp/ccV4tqnn.o(.text+0x1463): undefined reference to `ixNumberOfRecordsInIndex'
/tmp/ccV4tqnn.o(.text+0x14d7): undefined reference to `ixVectorRewind'
/tmp/ccV4tqnn.o(.text+0x1570): undefined reference to `ixVectorCurrentHit'
/tmp/ccV4tqnn.o(.text+0x1630): undefined reference to `ixVectorNextHit'
/tmp/ccV4tqnn.o(.text+0x1705): undefined reference to `ixNumHits'
/tmp/ccV4tqnn.o(.text+0x1796): undefined reference to `ixDeleteRecordNum'
/tmp/ccV4tqnn.o(.text+0x17f6): undefined reference to `ixUnDeleteRecordNum'
/tmp/ccV4tqnn.o(.text+0x1856): undefined reference to `ixIsRecordDeleted'
/tmp/ccV4tqnn.o(.text+0x18fb): undefined reference to `ixOutputStatsFile'
/tmp/ccV4tqnn.o(.text+0x19a2): undefined reference to `ixGetCurrentQueryVector'
/tmp/ccV4tqnn.o(.text+0x1a50): undefined reference to `ixRetrieveRecordID'
/tmp/ccV4tqnn.o(.text+0x1b0d): undefined reference to `ixCharToHex'
/tmp/ccV4tqnn.o(.text+0x1b5a): undefined reference to `ixFindRecordID'
/tmp/ccV4tqnn.o(.text+0x1bf7): undefined reference to `ixRetrieveRecordData'
/tmp/ccV4tqnn.o(.text+0x1c73): undefined reference to `ixRetrieveMoreRecordData'
/tmp/ccV4tqnn.o(.text+0x1d28): undefined reference to `ixGetStatusMessage'
/tmp/ccV4tqnn.o(.text+0x1d58): undefined reference to `ixGetTempDiskSpaceUsage'
collect2: ld returned 1 exit status
this is the compiler message. the library file has been renamed as libonix.a and then the command line given above has been run.
the file libonix.a has been placed in /usr/include directory.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.