[RTEMS Project] #2375: tftpDriver free's current_directory
RTEMS trac
trac at rtems.org
Sat Feb 11 11:40:51 UTC 2017
#2375: tftpDriver free's current_directory
-------------------------+---------------------
Reporter: mdavidsaver | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 4.10.3
Component: networking | Version: 4.10
Severity: normal | Resolution:
Keywords: |
-------------------------+---------------------
Comment (by tokencolour):
I was trying to test this in master and faced a problem. In
https://github.com/mdavidsaver/rtems-tftp-test/blob/master/init.c why
isn't libio.h included when macros RTEMS_FILESYSTEM_TYPE_TFTPFS,
RTEMS_FILESYSTEM_READ_WRITE are used [https://github.com/mdavidsaver
/rtems-tftp-test/blob/master/init.c#L74 here]? Also when I run make, the
compiler shows error:
{{{
o-optimize/netconfig.o:(.data.loopback_config+0x4): undefined reference to
`rtems_bsdnet_loopattach'
collect2: error: ld returned 1 exit status
make: *** [o-optimize/tftp-test.exe] Error 1
}}}
I couldn't find rtems_bsdnet_loopattach been defined in any header file.
If this a typical driver attach function, why isn't rtems_bsdnet_ifconfig
passed in the function signature? What am I missing?
--
Ticket URL: <http://devel.rtems.org/ticket/2375#comment:22>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list