This is the mail archive of the
ecos-bugs@sourceware.org
mailing list for the eCos project.
[Bug 1000719] New: lwip_ppp tests build fails when CYGDBG_LWIP_DEBUGturned on
- From: bugzilla-daemon at ecoscentric dot com
- To: ecos-bugs at ecos dot sourceware dot org
- Date: Sun, 15 Mar 2009 11:48:53 +0000
- Subject: [Bug 1000719] New: lwip_ppp tests build fails when CYGDBG_LWIP_DEBUGturned on
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000719
Summary: lwip_ppp tests build fails when CYGDBG_LWIP_DEBUG turned
on
Product: eCos
Version: 3.0beta1
Platform: Other (please specify)
OS/Version: Other
Status: UNCONFIRMED
Severity: normal
Priority: normal
Component: Release Engineering
AssignedTo: john@dallaway.org.uk
ReportedBy: sergei.gavrikov@gmail.com
QAContact: ecos-bugs@ecos.sourceware.org
Class: ---
lpc.c uses snprintf() when TRACELCP > 0 (it true if CYGDBG_LWIP_DEBUG option is
turned on). We have not snprintf() there (only diag_snprintf()), so it's not
possible to built lwip_tcpip tests with debug INFRA.
SYNOPSYS
. /opt/ecos/ecosenv.sh
ecosconfig new pc lwip_ppp
U CYGPKG_IO_SERIAL_DEVICES, new inferred value 1
U CYGPKG_LWIP_ETH, new inferred value 0
ecosconfig import /dev/stdin << EOF
cdl_option CYGDBG_LWIP_DEBUG {user_value 1};
EOF
ecosconfig tree&&make -s&&make -s -C net/lwip_tcpip/v3_0b1/ tests
[snip] /opt/testing/lwip_ppp/install/lib/libtarget.a(net_lwip_tcpip_lcp.o): In
function `lcp_reqci':
/opt/ecos/ecos-3.0b1/packages/net/lwip_tcpip/v3_0b1/src/netif/ppp/lcp.c:1498:
undefined reference to `snprintf'
/opt/ecos/ecos-3.0b1/packages/net/lwip_tcpip/v3_0b1/src/netif/ppp/lcp.c:1461:
undefined reference to `snprintf'
/opt/ecos/ecos-3.0b1/packages/net/lwip_tcpip/v3_0b1/src/netif/ppp/lcp.c:1448:
undefined reference to `snprintf'
/opt/ecos/ecos-3.0b1/packages/net/lwip_tcpip/v3_0b1/src/netif/ppp/lcp.c:1425:
undefined reference to `snprintf'
/opt/ecos/ecos-3.0b1/packages/net/lwip_tcpip/v3_0b1/src/netif/ppp/lcp.c:1393:
undefined reference to `snprintf'
/opt/testing/lwip_ppp/install/lib/libtarget.a(net_lwip_tcpip_lcp.o):/opt/ecos/ecos-3.0b1/packages/net/lwip_tcpip/v3_0b1/src/netif/ppp/lcp.c:1271:
more undefined references to `snprintf' follow
collect2: ld returned 1 exit status
make: ***
[/opt/testing/lwip_ppp/install/tests/net/lwip_tcpip/v3_0b1/tests/tcpecho] Error
RFC: What's about s/snprintf/diag_snprintf/g there?
Nowadays I insert a substitution in lpc.c:
#define snprintf diag_snprintf
to be able to finish the build.
Note: CVS has the same bug.
Sergei
--
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.