This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
link error (no patch just a hitn maybe)
- From: Jani Monoses <jani at iv dot ro>
- To: ecos-patches at sources dot redhat dot com
- Date: Wed, 12 Feb 2003 18:23:17 +0200
- Subject: link error (no patch just a hitn maybe)
Hi
I had unresolved symbol errors when linking an app (new_net template on edb7xxx)
in mutex.cxx in the posix compat package.
Including these two files made it go away I'm just not sure it's the right
fix and if it it how come nobody has seen this.
Jani.
diff -u -r1.4 mutex.cxx
--- compat/posix/current/src/mutex.cxx 10 Dec 2002 02:28:21 -0000 1.4
+++ compat/posix/current/src/mutex.cxx 12 Feb 2003 16:17:18 -0000
@@ -67,6 +67,9 @@
#include <cyg/kernel/thread.inl> // thread inlines
+#include <cyg/kernel/sched.hxx>
+
+#include <cyg/kernel/sched.inl>
//-----------------------------------------------------------------------------
// new operator to allow us to construct mutex objects