Re: more compile help questions...

2007-02-10 Thread Sami Kibria
Hi Dave. Thanks for the response. I will give this a try... :) Dave Shield wrote: > On 10/02/07, Sami Kibria <[EMAIL PROTECTED]> wrote: >> any ideas of how to get snmpd to be compiled statically with >> all libraries? > > All I can suggest is a hack. > Try removing the relevant shared objects

Re: more compile help questions...

2007-02-10 Thread Dave Shield
On 10/02/07, Sami Kibria <[EMAIL PROTECTED]> wrote: > any ideas of how to get snmpd to be compiled statically with > all libraries? All I can suggest is a hack. Try removing the relevant shared objects from /opt/arm/3.4.1/arm-linux/lib/ so the linker is *forced* to use the .a file. (Or at least

Re: more compile help questions...

2007-02-09 Thread Sami Kibria
Hi Dave...any ideas of how to get snmpd to be compiled statically with all libraries? Another this is, if this is a no go, where does snmpd expect the libraries to be? Thanks Dave. :) Dave Shield wrote: > And the other question: > >> >> > What is the command that's invoked to compile/link >>

Re: more compile help questions...

2007-02-09 Thread Sami Kibria
The command that is invoked is from the Makefile itself. It is: /bin/sh ../libtool --mode=compile arm-linux-gcc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -static -O2 -c -o snmpd.lo snmpd.c arm-linux-gcc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -O2 -c

Re: more compile help questions...

2007-02-09 Thread Dave Shield
And the other question: > >> > What is the command that's invoked to compile/link > >> > the 'snmpd' binary? ? - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-inte

Re: more compile help questions...

2007-02-09 Thread Sami Kibria
Oops...sorry. :) When I do the ls -ls command, I get the following... libdl.so -> libdl.so.2 libdl.so.2 -> libdl-2.3.2.so libc.so libc.so.6 -> libc-2.3.2.so libc.a When I try running the application on my arm board, all I get is a "not found" error. Not very helpful at all. But my assumption

Re: more compile help questions...

2007-02-09 Thread Dave Shield
On 09/02/07, Sami Kibria <[EMAIL PROTECTED]> wrote: > > What is the output of > >ls -l /usr/lib/libm* /lib/libm* > >ls -l /usr/lib/libc* /lib/libc* > Hi Dave. My lib's are in my lib directory of my cross compiler... > > /opt/arm/3.4.1/arm-linux/lib/ OK - so what do the equivalent "

Re: more compile help questions...

2007-02-09 Thread Sami Kibria
Hi Dave. My lib's are in my lib directory of my cross compiler... /opt/arm/3.4.1/arm-linux/lib/ Do you know anyone who has been able to get this work? :) Dave Shield wrote: > On 09/02/07, Sami Kibria <[EMAIL PROTECTED]> wrote: >> Here is what I am using for ./configure... >> >> ./configure

Re: more compile help questions...

2007-02-09 Thread Dave Shield
On 09/02/07, Sami Kibria <[EMAIL PROTECTED]> wrote: > Here is what I am using for ./configure... > > ./configure --with-cflags="-O2 -static" > > I can compile everything into the agent but libc, libdl, libm...any > ideas why? I would have thought that the "-static" option ought to link in the

re: more compile help questions...

2007-02-08 Thread Sami Kibria
Here is what I am using for ./configure... ./configure --enable-static=yes --enable-shared=no --host=arm-linux --with-endianness=little --enable-dynamic=no --without-perl-modules --disable-embedded-perl --with-cflags="-O2 -static" I can compile everything into the agent but libc, libdl, libm...