Re: compile error when upgrading from 5.1.4.2 to 5.4.2.1 with gcc 2.96
Thomas Anders <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
PoWah Wong wrote: > The file "oamp_shm.h" is not missing, that is why net-snmp-5.1.4.2 compile. > If I use the compile instructions generated by 5.1.4.2 to compile 5.2.5.1, 5.3.2.3 or 5.4.2.1, then they all compile ok. > The question is, in 5.4.2.1, how to generate the same compile instructions generated by 5.1.4.2 (i.e. gcc -I../../include ...) ? "oamp_shm.h" is not part of net-snmp and has never been. If you need to include any third-party include file from a dedicated directory, please make sure to *explicitly* pass the proper compiler options to pick up include files from that path. E.g. env CFLAGS=-I/your/own/path ./configure ... +Thomas ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ 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