<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to support-requests</title><link>https://sourceforge.net/p/xparam/support-requests/</link><description>Recent changes to support-requests</description><atom:link href="https://sourceforge.net/p/xparam/support-requests/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 30 Sep 2002 12:08:18 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/xparam/support-requests/feed.rss" rel="self" type="application/rss+xml"/><item><title>Can't compile on Redhat 2.4.18??</title><link>https://sourceforge.net/p/xparam/support-requests/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have not been able to compile 1.11 or 1.2 on rh 2.4.18-&lt;br /&gt;
10.&lt;/p&gt;
&lt;p&gt;Here's an example of errors compiling 1.2:&lt;br /&gt;
**************************************************************&lt;br /&gt;
c++ -DMAP_NEEDS_DEFAULT_CTOR -Iantlr -c &lt;br /&gt;
sources/xp_regtype_char.cpp     -fPIC -DPIC -o &lt;br /&gt;
obj/.libs/xp_regtype_char.lo&lt;br /&gt;
xparam/xp_value_management_facade.h: In function `T &lt;br /&gt;
*xParam_internal::get_copy_of (const T &amp;amp;amp;) [with T = &lt;br /&gt;
char]':&lt;br /&gt;
xparam/xpv_reg_class.h:69:   instantiated from &lt;br /&gt;
`xParam_internal::instantiate_value_manipulation &lt;br /&gt;
(xParam_internal::TypeTag&amp;amp;lt;T&amp;amp;gt;) [with T = char]'&lt;br /&gt;
xparam/xpv_reg_class.h:106:   instantiated from &lt;br /&gt;
`xParam_internal::typed_register_class &lt;br /&gt;
(xParam_internal::TypeTag&amp;amp;lt;T&amp;amp;gt;, const string &amp;amp;amp;, const &lt;br /&gt;
xParam_internal::Handle&amp;amp;lt;xParam_internal::Copier&amp;amp;gt; &amp;amp;amp;, &lt;br /&gt;
const xParam_internal::Handle&amp;amp;lt;xParam_internal::Dtor&amp;amp;gt; &lt;br /&gt;
&amp;amp;amp;) [with T = char]'&lt;br /&gt;
xparam/xpv_reg_class.h:180:   instantiated from &lt;br /&gt;
`xParam_internal::ClassRegCommand&amp;amp;lt;T, &lt;br /&gt;
ClassKind&amp;amp;gt;::do_registration () const [with T = char, &lt;br /&gt;
ClassKind = &lt;br /&gt;
xParam_internal::ConcreteClassKind&amp;amp;lt;char&amp;amp;gt;]'&lt;br /&gt;
/usr/include/g++-3/stl_map.h:76:   instantiated from here&lt;br /&gt;
xparam/xp_value_management_facade.h:109: Internal &lt;br /&gt;
error: Segmentation fault.&lt;br /&gt;
Please submit a full bug report.&lt;br /&gt;
See &amp;amp;lt;URL:http://bugzilla.redhat.com/bugzilla/&amp;amp;gt; for &lt;br /&gt;
instructions.&lt;br /&gt;
make[1]: *** [obj/xp_regtype_char.lo] Error 1&lt;br /&gt;
make[1]: Leaving directory &lt;br /&gt;
`/usr/local/projects/cpp/xparam-1.2/lib'&lt;br /&gt;
make: [lib/lib/libxparam.la] Error 2 (ignored)&lt;br /&gt;
**************************************************************&lt;br /&gt;
Try again:&lt;/p&gt;
&lt;p&gt;**************************************************************&lt;br /&gt;
make -C lib&lt;br /&gt;
make[1]: Entering directory &lt;br /&gt;
`/usr/local/projects/cpp/xparam-1.2/lib'&lt;br /&gt;
libtool c++ -DMAP_NEEDS_DEFAULT_CTOR  -Iantlr -c -&lt;br /&gt;
o obj/xp_regtype_char.lo sources/xp_regtype_char.cpp&lt;br /&gt;
rm -f obj/.libs/xp_regtype_char.lo&lt;br /&gt;
c++ -DMAP_NEEDS_DEFAULT_CTOR -Iantlr -c &lt;br /&gt;
sources/xp_regtype_char.cpp     -fPIC -DPIC -o &lt;br /&gt;
obj/.libs/xp_regtype_char.lo&lt;br /&gt;
xparam/xp_value_management_facade.h: In function `T &lt;br /&gt;
*xParam_internal::get_copy_of (const T &amp;amp;amp;) [with T = &lt;br /&gt;
char]':&lt;br /&gt;
xparam/xpv_reg_class.h:69:   instantiated from &lt;br /&gt;
`xParam_internal::instantiate_value_manipulation &lt;br /&gt;
(xParam_internal::TypeTag&amp;amp;lt;T&amp;amp;gt;) [with T = char]'&lt;br /&gt;
xparam/xpv_reg_class.h:106:   instantiated from &lt;br /&gt;
`xParam_internal::typed_register_class &lt;br /&gt;
(xParam_internal::TypeTag&amp;amp;lt;T&amp;amp;gt;, const string &amp;amp;amp;, const &lt;br /&gt;
xParam_internal::Handle&amp;amp;lt;xParam_internal::Copier&amp;amp;gt; &amp;amp;amp;, &lt;br /&gt;
const xParam_internal::Handle&amp;amp;lt;xParam_internal::Dtor&amp;amp;gt; &lt;br /&gt;
&amp;amp;amp;) [with T = char]'&lt;br /&gt;
xparam/xpv_reg_class.h:180:   instantiated from &lt;br /&gt;
`xParam_internal::ClassRegCommand&amp;amp;lt;T, &lt;br /&gt;
ClassKind&amp;amp;gt;::do_registration () const [with T = char, &lt;br /&gt;
ClassKind = &lt;br /&gt;
xParam_internal::ConcreteClassKind&amp;amp;lt;char&amp;amp;gt;]'&lt;br /&gt;
/usr/include/g++-3/stl_map.h:76:   instantiated from here&lt;br /&gt;
xparam/xp_value_management_facade.h:109: Internal &lt;br /&gt;
error: Segmentation fault.&lt;br /&gt;
Please submit a full bug report.&lt;br /&gt;
See &amp;amp;lt;URL:http://bugzilla.redhat.com/bugzilla/&amp;amp;gt; for &lt;br /&gt;
instructions.&lt;br /&gt;
make[1]: *** [obj/xp_regtype_char.lo] Error 1&lt;br /&gt;
make[1]: Leaving directory &lt;br /&gt;
`/usr/local/projects/cpp/xparam-1.2/lib'&lt;br /&gt;
make: [lib/lib/libxparam.la] Error 2 (ignored)&lt;br /&gt;
**************************************************************&lt;/p&gt;
&lt;p&gt;However, even though no errors when I run ./configure, &lt;br /&gt;
maybe all isn't well there either. Please see attached &lt;br /&gt;
config.log.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">A. S. Drury</dc:creator><pubDate>Mon, 30 Sep 2002 12:08:18 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net88151151edda63d8388ef613a96694cb5494d435</guid></item><item><title>Install on Solaris 2.8</title><link>https://sourceforge.net/p/xparam/support-requests/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I read about xparam in CUJ , July issue. Looks like&lt;br /&gt;
just what I need to create test harnesses. I download &lt;br /&gt;
xparam-1.2 and installed on a SunBlade 1000, &lt;br /&gt;
Solaris 2.8 , CC6.2.&lt;/p&gt;
&lt;p&gt;I ran the configure script ot build the make files. The &lt;br /&gt;
Makefiles created seem to require GNU make, ok.&lt;br /&gt;
I downloaded GNU make and build it. &lt;br /&gt;
However the Makefiles do not seem to support each &lt;br /&gt;
Solaris or CC6.2 compiler. For example they use a &lt;br /&gt;
convention of generating libraries with .la suffixes, &lt;br /&gt;
objects with .lo suffixes.&lt;/p&gt;
&lt;p&gt;I manually (fixed) changed the makefiles to &lt;br /&gt;
use .so, .o conventions, added in some CCFLAGS,&lt;br /&gt;
LDFLAGS, to get things to compile.&lt;/p&gt;
&lt;p&gt;Then I had to modify &lt;br /&gt;
UnnixDynamicLoader::get_mapfiles_in to use&lt;br /&gt;
opendir/readdir/closedir instead of scandir.&lt;/p&gt;
&lt;p&gt;I built the libxparam.so and installed it in&lt;br /&gt;
/local/local/&lt;/p&gt;
&lt;p&gt;Now I'm stuck with a compile error&lt;/p&gt;
&lt;p&gt;CC -I/local/local/include -I/local/local/include/xparam&lt;br /&gt;
-pti/local/local/include/xparam -c -o simple.o simple.cpp&lt;br /&gt;
&amp;amp;quot;/local/local/include/xparam/xpv_facade_imp.h&amp;amp;quot;, line &lt;br /&gt;
106: Error: Casting&lt;br /&gt;
a non-lvalue to char(&amp;amp;amp;)[9].&lt;br /&gt;
&amp;amp;quot;/local/local/include/xparam/xpv_facade_imp.h&amp;amp;quot;, line &lt;br /&gt;
58:     Where:&lt;br /&gt;
While instantiating &amp;amp;quot;xParam_internal::get_copy_of&amp;amp;lt;char&lt;br /&gt;
[9]&amp;amp;gt;(const&lt;br /&gt;
char(&amp;amp;amp;)[9])&amp;amp;quot;.&lt;br /&gt;
&amp;amp;quot;/local/local/include/xparam/xpv_facade_imp.h&amp;amp;quot;, line &lt;br /&gt;
58:     Where:&lt;br /&gt;
Instantiated from &lt;br /&gt;
xParam_internal::make_value_copy&amp;amp;lt;char[9]&amp;amp;gt;(const&lt;br /&gt;
char(&amp;amp;amp;)[9]).&lt;br /&gt;
&amp;amp;quot;/local/local/include/xparam/xp_value_source_imp.h&amp;amp;quot;, &lt;br /&gt;
line 63:     Where:&lt;br /&gt;
Instantiated from xParam_internal::Val&amp;amp;lt;char[9]&amp;amp;gt;(const &lt;br /&gt;
char(&amp;amp;amp;)[9]).&lt;br /&gt;
&amp;amp;quot;simple.cpp&amp;amp;quot;, line 67:     Where: Instantiated from non-&lt;br /&gt;
template code.&lt;br /&gt;
1 Error(s) detected.&lt;br /&gt;
make: *** [simple.o] Error 1&lt;/p&gt;
&lt;p&gt;I don't know enought about templates to understand &lt;br /&gt;
exactly what is the&lt;br /&gt;
error.  The line in simple.cpp&lt;/p&gt;
&lt;p&gt;&amp;amp;lt;&amp;amp;lt; iParamVar(num,            &amp;amp;quot;num ! The number &lt;br /&gt;
you've guessed&amp;amp;quot;)&lt;/p&gt;
&lt;p&gt;appears to be the cause.&lt;/p&gt;
&lt;p&gt;I have built it all successfully on Visual Studios&lt;/p&gt;
&lt;p&gt;Is there a different download to ge tit to &lt;br /&gt;
run on Solaris. I wil continue to work on it as it's&lt;br /&gt;
just what I want to use ( thanks). &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tom Kanary</dc:creator><pubDate>Thu, 18 Jul 2002 09:43:45 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net618fdbe1d41820e787a9c1b8167604240f4a2a79</guid></item></channel></rss>