On 23 May 2012 21:08, Ricardo Hillbrecht <[email protected]> wrote:
> I'm building a custom MIB using MFD code style. I'd written custom
> functions in separate .c and .h files, this files are in the same
> folder as the file that uses them (xxxTable_data_access.h).

> I think the .c and .h files with the custom functions need to be
> someway informed to the linker, but the makefiles are generated by the
> configure script. Maybe using LDFLAGS, CFLAGS, but I don't know how.
> Can someone help me ?


Sorry - I've only just clicked as to exactly what you're doing here.

Try adding the line

    "config_require(custom)"

to one of the header files in that directory.
This is a special directive that's interpreted by configure when
building the Makefiles, and should add 'custom.c' and 'custom.h'
to the appropriate lists of files.
   (Naturally, you should replace "custom" with the actual name
of the file)

Sorry for the delay in spotting this

Dave

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to