5.4.1.2 building woes on RHAS3

Jayson Robinson <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
I'm having a weird issue when compiling on rh as3 vs rh as4.

RHAS4 works fine.  It's only RH AS3 that I'm seeing the problem on.

%configure --with-defaults \
        --with-mib-modules="ucd-snmp/extensible agent/extend host disman/event-mib disman/expression smux ucd-snmp/diskio" \
        --enable-shared \
        --enable-ucd-snmp-compatibility \
        --with-sysconfdir=/opt/net-snmp/share/snmp \
        --with-persistent-directory=/var/net-snmp \
        --with-default-snmp-version="2" \
        --with-logfile="/var/net-snmp/snmpd.log" \
        --with-openssl="/usr/local/ssl" \
        --with-sys-location="Unknown" \
        --enable-mfd-rewrites \
        --without-rpm \
        --disable-embedded-perl \


That is my configure line from my spec file.  On as3 I'm getting the following errors when I run make:

disman/expr/expValue.c:28: conflicting types for `init_expValue'
disman/expr/expValue.h:7: previous declaration of `init_expValue'
make[2]: *** [disman/expr/expValue.lo] Error 1

I commented out the following line in the expValue.h file
void              init_expValue(void);
and left the expValue.c file alone.  

After doing this the make completed without error and was able to install Net-SNMP 5.4.1.2.

I looked for patches / bugs on this but have not found any.

I have not tested this but don't see any reason why it won't work.

Just looking for some thoughts on this.  Has anyone seen this before?  Can anyone duplicate?  Does there need to be a bug report filed on this?

Thank you,
Jayson



_________________________________________________________________
Use video conversation to talk face-to-face with Windows Live Messenger.
http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_video_072008

-------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.