found a compiling optimization problem
"xiao ren" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, there Today I rewrote my program's makefile, which was previously managed by eclipse cdt. This time I used the autoconf and automake tools to generate the new makefile, and by using it I can build my application without error. But when I run the newly generated exec file, an error reported as 'Unknown Object Identifier' when the program parsing oid using snmp_parse_oid fuction. I can confirm that the application's source code is the same with my old eclipse project's. The only difference is some g++ compiling flags. So I try to change those flags one by one. Eventullay I got the optimization flag, in former project this was written as "-O0" means no optimization is allowed, and in my new makefile it was "-O2", and that's the reason which cause the error! Could anybody tell me why this is happend? -------------- xiao ren 2008-09-02 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ 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