This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
RE: Using SNMP in ecos
- From: "Hou, Chien-Long" <phou at ti dot com>
- To: "Andrew Lunn" <andrew at lunn dot ch>
- Cc: <ecos-discuss at ecos dot sourceware dot org>
- Date: Thu, 16 Feb 2006 17:41:02 -0600
- Subject: RE: [ECOS] Using SNMP in ecos
I start over everything, (including install eCos & gnutools).
And do the following steps as suggested:
-ecosconfig new atlas_mips32_4kc net
-ecosconfig add snmplib
-ecosconfig add snmpagent
-make tree
-make
After compiled bunches of files, I got 'segmentation fault' when compile
the file:
/opt/ecos/ecos-3.0/packages/language/c/libc/stdio/current/src/input/vfsc
anf.cxx
The error msg:
952: internal
error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[1]: *** [src/input/vfscanf.o.d] Error 1
make[1]: Leaving directory
`/home/a0212627/ecos-work/language/c/libc/stdio/curre
nt'
make: *** [build] Error 2
I will submit a bug report as request by the err msg, but was wondering
has anyone see this problem before?
The mipsisa32-elf-gcc used was downloaded from
ftp://sources-redhat.mirror.redwire.net/pub/sources.redhat.com/ecos/gnut
ools/cygwin/
Thanks,
-Peter Hou
-----Original Message-----
From: Andrew Lunn [mailto:andrew@lunn.ch]
Sent: Thursday, February 16, 2006 11:48 AM
To: Hou, Chien-Long
Cc: Andrew Lunn; ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] Using SNMP in ecos
On Thu, Feb 16, 2006 at 01:01:10PM -0600, Hou, Chien-Long wrote:
> I am using atlas_mips32_4kc platform (sorry I am new to eCos).
> For some reason menuconfig does not work on my cygwin, so I am using
> ecosconfig directly.
>
> The steps I used:
> - ecosconfig new atlas_mips32_4kc
> - ecosconfig add <pkgname>
> So far I have the following packages:
> CYGPKG_IO_ETH_DRIVERS
> CYGPKG_HTTPD
> CYGPKG_NET
> CYGPKG_NET_OPENBSD_STACK
> CYGPKG_IO_FILEIO
> CYGPKG_SNMPAGENT
> CYGPKG_SNMPLIB
> CYGPKG_POSIX
> - econsconfig tree
> - make
lunn@londo:~/eCos/work2$ ecosconfig new atlas_mips32_4kc net
U CYGBLD_ISO_STRUCTTIMEVAL_HEADER, new inferred value
<cyg/posix/sys/time.h>
lunn@londo:~/eCos/work2$ ecosconfig add snmplib
lunn@londo:~/eCos/work2$ ecosconfig add snmpagent
lunn@londo:~/eCos/work2$ ecosconfig tree
using the net template will add all the networking packages you
need. You then just need to add the two snmp packages.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss