Re: linking an external library while extending the agent

2004-07-21 Thread ujjwal
Hi, If you want to use external libraries or external header files, best place to add them is passing them to the configure script. You can use --with-cflags and --with-ld-flags options of the configure for passing them. So it will look like - configure --with-cflags="-I" --with-ld-flags="-L -l"

linking an external library while extending the agent

2004-07-19 Thread steven . haddad
  Hello UCD users,   I'm trying to extend my ucd-snmp agent with a private extension. Within this extension, I want to use an external library, which is part of the SDK of another product.   When I write a simple C program, I link this library directly in gcc syntax like this:   /us