Hi I have done the ecos-3.0 porting that include bsd-tcpip stack and ftp server (http://www.meduna.org/sw_ecosftpserver_en.html). But I got the problem on ftp client connection, when I try to set optimization flag to -O2 with kernel build the bug was fixed! When I trace the code i found FILE IO API getsockname always sent wrong IP address (0.0.0.0) and this was reason make connection fail. Is anyone get the same question?
cdl_option CYGPKG_KERNEL_CFLAGS_ADD { # Flavor: data # No user value, uncomment the following line to provide one. # user_value -O2 # value_source default # Default value: -O2 Yours sincerely Rudolph.Lu -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss