WebHome
-
UHC
-
EHC
-
Documentation
-
Features & Status
-
EH examples
-
Feedback
-
News
-
FAQ
Related
-
Ruler
-
Shuffle
-
uulib & uuagc
Old Stuff
-
Previous WebHome
-
AFP2004
Center
Master Program
Center
Home
Courses
People
Projects
Page
Edit Page
Rename Page
Attach File
Printable
Wiki Source
More ...
Web
Recent Changes
Notify Service
News
Page Index
Search
More ...
Wiki
About TWiki
Text Formatting
Registration
Change Password
Reset Password
Users
Groups
Log In
or
Register
Build Problems
Ehc
%TOC% ---++ Wrongly built library ---+++ Symptom When building ehc a build error like the following is encountered: <verbatim> build/100/ehclib/ehcbase/EHC/Prelude.o:(.data+0x1e1e4): undefined reference to `gb_primUnsafeId' </verbatim> This usually means that an internal library is wrongly built, in this case the runtime library. Its size should be significantly more than zero, as is the case for a build of variant 100: <verbatim> [ravel:EHC/trunk/EHC] atze% ls -l install/100/lib/libEH-RTS.a -rw-r--r-- 1 atze admin 46804 Nov 13 11:27 install/100/lib/libEH-RTS.a </verbatim> ---+++ Solution Whenever possible 'libtool' is used to build libraries, but its interface varies across platforms. Its use can be switched of and replaced by lower level use of 'ld' and 'ar' by setting the configure variable 'libtoolStatic' in configure.ac: <verbatim> libtoolStatic="no" </verbatim> Rerun 'autoconf' and 'configure". Please let us know for which host platform you have changed this, so we can incorporate this in the development sources. -- Main.AtzeDijkstra - 14 Nov 2007