Cross compiling on ARM

"Sébastien JEFFROY" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi all,
I download net-snmp 5.4.1 and I tried to compiled it with arm-linux-gcc
(v4.0.0 from ELDK).
I used this options for configure :

    ./configure  --prefix=$(RAMDISK_PATH) --host=$(ARCH) --target=$(TARGET)
--with-cc=$(CC) --with-linkcc=$(CC)  --with-ar=$(AR) --quiet \
    --with-cflags="-Os -pipe -funit-at-a-time -DCAN_USE_SYSCTL=1
-DARP_SCAN_FOUR_ARGUMENTS=1" \
    --with-endianness=little --enable-mini-agent --disable-debugging
--disable-privacy \
    --enable-shared=yes --disable-static --with-gnu-ld \
    --without-opaque-special-types
--with-persistent-directory=/tmp/snmp-persist --with-default-snmp-version=2
\
    --with-sys-contact=root --with-sys-location=Unknown
--with-logfile=/dev/null \
    --with-out-transports=UDPIPv6,TCPIPv6,AAL5PVC,IPX,TCP,Unix \
    --enable-internal-md5 --with-copy-persistent-files=no --without-openssl
-sysconfdir=/tmp \

--with-mib-modules=mibII,host,mibII/ip,mibII/tcp,mibII/udp,mibII/icmp,mibII/var_route,mibII/kernel_linux,ucd_snmp,snmpv3mibs,target,notification
\
    --with-out-mib-modules=agent_mips,agentx,utilities \
    --disable-ipv6 --with-defaults --without-efence --without-rsaref
--without-kmem-usage --without-rpm --without-dmalloc \
    --disable-applications --disable-manuals --disable-scripts
--disable-mibs --disable-mib-loading



I can't make a shared library. I think there is a problem in configure
script when cross compiling ?
Does anybody have an idea to force shared library to compile ?

Thanks
Sebastien

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

_______________________________________________
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.