This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

i386 pc target net template problem


Hi all,

I have downloaded the latest version of ecos (ecos,net,snmp) from anonymous cvs.
My configuration tool version is 1.3.1.2.
Repository path has been changed to the current version ecos.
I build ecos with i386 pc target net template.

1. I can not compile tcp_lo_test.c test program.
    What packages should I add?
    I list the error messges below.
2. My target pc uses lan card with Intel 82559 ethernet controller.
    But I find that Intel 82559 ethernet driver is not in the packages list of net template.
    When I add Intel 82559 ethernet driver into the package list of net template, there is nothing added.
    Why?
3. Because the lan card is PCI interface.
    Should I add PCI configuration library?

Thanks in advance.

Below are compile error messages:

bash.exe-2.04$ i386-elf-gcc -g -I/d/john/ecos-work/i386_n01_install/include tcp
_lo_test.c -L/d/john/ecos-work/i386_n01_install/lib -Ttarget.ld -nostdlib
In file included from /d/john/ecos-work/i386_n01_install/include/network.h:63,
                 from tcp_lo_test.c:51:
/d/john/ecos-work/i386_n01_install/include/sys/param.h:120: sys/simplelock.h: No
 such file or directory
/d/john/ecos-work/i386_n01_install/include/sys/param.h:132: sys/syslimits.h: No
such file or directory
/d/john/ecos-work/i386_n01_install/include/sys/param.h:162: sys/signal.h: No suc
h file or directory
In file included from /d/john/ecos-work/i386_n01_install/include/network.h:63,
                 from tcp_lo_test.c:51:
/d/john/ecos-work/i386_n01_install/include/sys/param.h:202: warning: `CLBYTES' r
edefined
/d/john/ecos-work/i386_n01_install/include/machine/param.h:72: warning: this is
the location of the previous definition
In file included from /d/john/ecos-work/i386_n01_install/include/network.h:65,
                 from tcp_lo_test.c:51:
/d/john/ecos-work/i386_n01_install/include/sys/ioctl.h:103: sys/ttycom.h: No suc
h file or directory
In file included from /d/john/ecos-work/i386_n01_install/include/network.h:65,
                 from tcp_lo_test.c:51:
/d/john/ecos-work/i386_n01_install/include/sys/ioctl.h:123: sys/dkio.h: No such
file or directory
/d/john/ecos-work/i386_n01_install/include/sys/ioctl.h:124: sys/filio.h: No such
 file or directory
In file included from /d/john/ecos-work/i386_n01_install/include/network.h:78,
                 from tcp_lo_test.c:51:
/d/john/ecos-work/i386_n01_install/include/bootp.h:95: bptypes.h: No such file o
r directory

----
謝豪哲
John Hsieh
發現者國際股份有限公司
iMining Technology Co., Ltd.
john@imining.com.tw
TEL: 886-2-27235122
FAX: 886-2-27232287
www.imining.com.tw

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]