You need to specify the library with the small l either
explicitly or implicitly along with the library paths with the large L.
Check out the ARS supplied sample make files for the list
of libraries you will need. Not too different than windows really (not
withstanding the VC IDE - if you happen to use it).
If the ARInit.., Term are your only unresolved references,
then your program won't be doing too much :)
Ben Chernys
Senior Software Architect
Software Tool House Inc.
Canada / Deutschland / Germany
Mobile: +49 (0162) 175 0956 GMT + 1
Email: mailto:[EMAIL PROTECTED]
Web: http://www.softwaretoolhouse.com
A free notepad for Diary fields:
http://www.softwaretoolhouse.com/downloads/DiaryFieldEditor.htm
An ARS integration, import, batch facility:
http://www.softwaretoolhouse.com/products/SthMupd
Senior Software Architect
Software Tool House Inc.
Canada / Deutschland / Germany
Mobile: +49 (0162) 175 0956 GMT + 1
Email: mailto:[EMAIL PROTECTED]
Web: http://www.softwaretoolhouse.com
A free notepad for Diary fields:
http://www.softwaretoolhouse.com/downloads/DiaryFieldEditor.htm
An ARS integration, import, batch facility:
http://www.softwaretoolhouse.com/products/SthMupd
From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Hugo Visser
Sent: July 25, 2006 3:12 PM
To: [email protected]
Subject: Re: C API
I'm not that much of a hero with gcc, but looks like you need to check the path for the linker. You're setting it to -L/usr/arsystem/<servername>/cmdb/sdk/include, but I suspect you need it to set to -L/usr/arsystem/<servername>/cmdb/sdk/lib, in any case to the location of the .a files.
Hugo
On 7/25/06, Dawe,
Byron <[EMAIL PROTECTED]> wrote:
Hi Listers;
Just wondering if anyone out there can answer a question about C API's
specifically I am using the gcc command:
gcc test.c -v -I/usr/arsystem/<servername>/cmdb/sdk/include
-L/usr/arsystem/<servername>/cmdb/sdk/include
But when I run this, I still get an undefined reference to
ARInitialization and ARTermination ...
Anyone seen this before, thanks
Byron.
===================================
Byron Dawe
Computing and Communications
Memorial University of Newfoundland
St. John's, NL
A1C 5S7
Phone: (709) 757-3530 ext. 4054
===================================
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org
__20060125_______________________This posting was submitted with HTML in it___ __20060125_______________________This posting was submitted with HTML in it___

