public inbox for ecos-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug 1000719] New: lwip_ppp tests build fails when CYGDBG_LWIP_DEBUG turned on
@ 2009-03-15 11:49 bugzilla-daemon
2009-03-15 11:57 ` [Bug 1000719] " bugzilla-daemon
2009-03-17 15:21 ` bugzilla-daemon
0 siblings, 2 replies; 3+ messages in thread
From: bugzilla-daemon @ 2009-03-15 11:49 UTC (permalink / raw)
To: ecos-bugs
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-03-17 15:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-15 11:49 [Bug 1000719] New: lwip_ppp tests build fails when CYGDBG_LWIP_DEBUG turned on bugzilla-daemon
2009-03-15 11:57 ` [Bug 1000719] " bugzilla-daemon
2009-03-17 15:21 ` bugzilla-daemon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).