This repository is a mirror of https://git.openwrt.org/?p=project/odhcp6c.git. It is for reference only and is not active for checks-ins or reporting issues; issues should be reported at: https://bugs.openwrt.org. Pull requests will be accepted which will be merged in odhcp6c.git
I've found a problem while I'm compile the program.
/tmp/XiaoMi/odhcp6c/src/script.c: In function ‘s46_to_env’:
/tmp/XiaoMi/odhcp6c/src/script.c:272:2: warning: implicit declaration of function ‘open_memstream’ [-Wimplicit-function-declaration]
FILE *fp = open_memstream(&str, &strsize);
^
/tmp/XiaoMi/odhcp6c/src/script.c:272:13: warning: initialization makes pointer from integer without a cast [enabled by default]
FILE *fp = open_memstream(&str, &strsize);
After I checked the lib of my uclibc in toolchain, I found that the toolchain does not have the function...
So what should I do now? The fmemopen, open_memstream, open_wmemstream can be use..Is there any other functions can replace them instead?
I've found a problem while I'm compile the program.
After I checked the lib of my uclibc in toolchain, I found that the toolchain does not have the function... So what should I do now? The fmemopen, open_memstream, open_wmemstream can be use..Is there any other functions can replace them instead?