" *** [raw_gcl_map] Error 1" happens while making GCL

View: New views
3 Messages — Rating Filter:   Alert me  

" *** [raw_gcl_map] Error 1" happens while making GCL

by gbmcse2001 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I encounter the problem while making GCL.
 
My system is Redhat enterprise 5 and GCL version is gcl-2.6.7
 
I am struggling this problem for 2 days. Please someone can help me to solve this problem.
 
Thanks
 
 
***** The errors is the following  *************************************************
gcc -o raw_gcl  \
                -L.  -Wl,-Map raw_gcl_map   -lgcl -lm  /usr/lib64/libbfd.a /usr/lib64/libiberty.a -lc -lgclp
./libgcl.a(sys_gcl.o): In function `gcl_init_system':
sys_gcl.c:(.text+0x35bd): undefined reference to `init_gcl_cmpwt'
sys_gcl.c:(.text+0x363a): undefined reference to `init_gcl_predlib'
sys_gcl.c:(.text+0x36b7): undefined reference to `init_gcl_setf'
sys_gcl.c:(.text+0x3734): undefined reference to `init_gcl_assert'
sys_gcl.c:(.text+0x37b1): undefined reference to `init_gcl_arraylib'
sys_gcl.c:(.text+0x382e): undefined reference to `init_gcl_defstruct'
sys_gcl.c:(.text+0x38ab): undefined reference to `init_gcl_describe'
sys_gcl.c:(.text+0x3928): undefined reference to `init_gcl_numlib'
sys_gcl.c:(.text+0x39a5): undefined reference to `init_gcl_listlib'
sys_gcl.c:(.text+0x3a22): undefined reference to `init_gcl_seq'
sys_gcl.c:(.text+0x3a9f): undefined reference to `init_gcl_iolib'
sys_gcl.c:(.text+0x3b1c): undefined reference to `init_gcl_packlib'
sys_gcl.c:(.text+0x3b99): undefined reference to `init_gcl_mislib'
sys_gcl.c:(.text+0x3c16): undefined reference to `init_gcl_seqlib'
sys_gcl.c:(.text+0x3c93): undefined reference to `init_gcl_trace'
sys_gcl.c:(.text+0x3d10): undefined reference to `init_gcl_cmpenv'
sys_gcl.c:(.text+0x3d8d): undefined reference to `init_gcl_cmputil'
sys_gcl.c:(.text+0x3e0a): undefined reference to `init_gcl_cmploc'
sys_gcl.c:(.text+0x3e87): undefined reference to `init_gcl_loop'
sys_gcl.c:(.text+0x3f04): undefined reference to `init_gcl_cmpif'
sys_gcl.c:(.text+0x3f81): undefined reference to `init_gcl_cmpbind'
sys_gcl.c:(.text+0x3ffe): undefined reference to `init_gcl_cmptag'
sys_gcl.c:(.text+0x407b): undefined reference to `init_gcl_serror'
sys_gcl.c:(.text+0x40f8): undefined reference to `init_gcl_cmpflet'
sys_gcl.c:(.text+0x4175): undefined reference to `init_gcl_info'
sys_gcl.c:(.text+0x41f2): undefined reference to `init_gcl_cmpmulti'
sys_gcl.c:(.text+0x426f): undefined reference to `init_gcl_make_defpackage'
sys_gcl.c:(.text+0x42ec): undefined reference to `init_gcl_cmplam'
sys_gcl.c:(.text+0x4369): undefined reference to `init_gcl_cmpcall'
sys_gcl.c:(.text+0x43e6): undefined reference to `init_gcl_cmpvar'
sys_gcl.c:(.text+0x4463): undefined reference to `init_gcl_sloop'
sys_gcl.c:(.text+0x44e0): undefined reference to `init_gcl_cmpeval'
sys_gcl.c:(.text+0x455d): undefined reference to `init_gcl_debug'
sys_gcl.c:(.text+0x45da): undefined reference to `init_gcl_cmpmap'
sys_gcl.c:(.text+0x4657): undefined reference to `init_gcl_defpackage'
sys_gcl.c:(.text+0x46d4): undefined reference to `init_gcl_cmplabel'
sys_gcl.c:(.text+0x4751): undefined reference to `init_gcl_cmpblock'
sys_gcl.c:(.text+0x47ce): undefined reference to `init_gcl_cmptop'
sys_gcl.c:(.text+0x484b): undefined reference to `init_gcl_destructuring_bind'
sys_gcl.c:(.text+0x48c8): undefined reference to `init_gcl_cmpfun'
sys_gcl.c:(.text+0x4945): undefined reference to `init_gcl_cmptype'
sys_gcl.c:(.text+0x49c2): undefined reference to `init_gcl_cmpspecial'
sys_gcl.c:(.text+0x4a3f): undefined reference to `init_gcl_cmpinline'
sys_gcl.c:(.text+0x4abc): undefined reference to `init_gcl_cmplet'
sys_gcl.c:(.text+0x4b39): undefined reference to `init_gcl_cmpcatch'
sys_gcl.c:(.text+0x4bb2): undefined reference to `init_gcl_cmpvs'
./libgcl.a(sys_gcl.o): In function `gcl_init_init':
sys_gcl.c:(.text+0x525d): undefined reference to `init_gcl_defmacro'
sys_gcl.c:(.text+0x52c7): undefined reference to `init_gcl_evalmacros'
sys_gcl.c:(.text+0x5331): undefined reference to `init_gcl_top'
sys_gcl.c:(.text+0x539c): undefined reference to `init_gcl_module'
collect2: ld returned 1 exit status
make[1]: *** [raw_gcl_map] Error 1
make[1]: Leaving directory `/usr/local/src/gcl-2.6.7/unixport'
make: *** [unixport/saved_gcl] Error 2

_______________________________________________
Gcl-devel mailing list
Gcl-devel@...
http://lists.gnu.org/mailman/listinfo/gcl-devel

Re: " *** [raw_gcl_map] Error 1" happens while making GCL

by Wolfgang Pichl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 23 Jul 2009, gbmcse2001@... wrote:

> I encounter the problem while making GCL.
>
> My system is Redhat enterprise 5 and GCL version is gcl-2.6.7
>
> I am struggling this problem for 2 days. Please someone can help me to solve this problem.
>
> Thanks
>
>
> ***** The errors is the following  *************************************************
> gcc -o raw_gcl  \
>                -L.  -Wl,-Map raw_gcl_map   -lgcl -lm  /usr/lib64/libbfd.a /usr/lib64/libiberty.a -lc -lgclp
> ./libgcl.a(sys_gcl.o): In function `gcl_init_system':
> sys_gcl.c:(.text+0x35bd): undefined reference to `init_gcl_cmpwt'
> sys_gcl.c:(.text+0x363a): undefined reference to `init_gcl_predlib'
> sys_gcl.c:(.text+0x36b7): undefined reference to `init_gcl_setf'
> sys_gcl.c:(.text+0x3734): undefined reference to `init_gcl_assert'


Hi,
did you use the 2.6.7 release tarball or a Fedora srpm? I've compiled gcl
on Slackware and Slamd64 a few weeks ago and thereby learned that the
2.6.7 tarball does not compile out of the box. You'll at least need
several patches and probably you'll also have to do some manual hacks in
the configure script and turn off brk randomization in the Linux kernel.
In the Fedora source rpms these issues seem to be fixed, but I don't know
for certain, I'm not a Fedora user. Probably the best thing you could do is to
try the 2.6.8-pre prerelease; it worked out of the box for me. You'll have
to check it out from the cvs, it has not yet been released.

In case that 2.6.8-pre also should not work for you, here a few other
points that might be helpful:
Did you use a parallel make (e.g. make -j4 or something like that) ? Whith
the current versions of binutils this fails whenever static libraries are
to be built (ar builds corrupted libraries within a parallel make). And you
are definitly having a problem with a static library, so this might be an
indication...

You are obviously using a 64bit "multilib" distribution. If problems
persist, make  sure that the distribution setup (compiler and linker internal
paths, dynamic loader...) is correct and libraries in locations as /usr/lib64
and /usr/local/lib64 are correctly found. AFAIK, 64bit Fedora should be
clean, as Slamd64 is, but I don't know for sure. Some distributions (e.g.
Gentoo) are notorious for their bad 64bit-multilib-setup.

best regards
Wolfgang Pichl


_______________________________________________
Gcl-devel mailing list
Gcl-devel@...
http://lists.gnu.org/mailman/listinfo/gcl-devel

Re: " *** [raw_gcl_map] Error 1" happens while making GCL

by gbmcse2001 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear Pichl,

Thanks for your helpful information,

GCL has finally been installed in my machine and it works well.

Thanks again,

Bo Guo

--------------------------------------------------
From: "Wolfgang Pichl" <wolfgang.pichl@...>
Sent: 2009?7?24? 7:55 AM
To: <gbmcse2001@...>
Cc: <gcl-devel@...>
Subject: Re: [Gcl-devel] " *** [raw_gcl_map] Error 1" happens while making
GCL

> On Thu, 23 Jul 2009, gbmcse2001@... wrote:
>
>> I encounter the problem while making GCL.
>>
>> My system is Redhat enterprise 5 and GCL version is gcl-2.6.7
>>
>> I am struggling this problem for 2 days. Please someone can help me to
>> solve this problem.
>>
>> Thanks
>>
>>
>> ***** The errors is the following
>> *************************************************
>> gcc -o raw_gcl  \
>>                -L.  -Wl,-Map raw_gcl_map   -lgcl -lm  /usr/lib64/libbfd.a
>> /usr/lib64/libiberty.a -lc -lgclp
>> ./libgcl.a(sys_gcl.o): In function `gcl_init_system':
>> sys_gcl.c:(.text+0x35bd): undefined reference to `init_gcl_cmpwt'
>> sys_gcl.c:(.text+0x363a): undefined reference to `init_gcl_predlib'
>> sys_gcl.c:(.text+0x36b7): undefined reference to `init_gcl_setf'
>> sys_gcl.c:(.text+0x3734): undefined reference to `init_gcl_assert'
>
>
> Hi,
> did you use the 2.6.7 release tarball or a Fedora srpm? I've compiled gcl
> on Slackware and Slamd64 a few weeks ago and thereby learned that the
> 2.6.7 tarball does not compile out of the box. You'll at least need
> several patches and probably you'll also have to do some manual hacks in
> the configure script and turn off brk randomization in the Linux kernel.
> In the Fedora source rpms these issues seem to be fixed, but I don't know
> for certain, I'm not a Fedora user. Probably the best thing you could do
> is to try the 2.6.8-pre prerelease; it worked out of the box for me.
> You'll have to check it out from the cvs, it has not yet been released.
>
> In case that 2.6.8-pre also should not work for you, here a few other
> points that might be helpful:
> Did you use a parallel make (e.g. make -j4 or something like that) ? Whith
> the current versions of binutils this fails whenever static libraries are
> to be built (ar builds corrupted libraries within a parallel make). And
> you are definitly having a problem with a static library, so this might be
> an indication...
>
> You are obviously using a 64bit "multilib" distribution. If problems
> persist, make  sure that the distribution setup (compiler and linker
> internal
> paths, dynamic loader...) is correct and libraries in locations as
> /usr/lib64 and /usr/local/lib64 are correctly found. AFAIK, 64bit Fedora
> should be clean, as Slamd64 is, but I don't know for sure. Some
> distributions (e.g. Gentoo) are notorious for their bad
> 64bit-multilib-setup.
>
> best regards
> Wolfgang Pichl
>


_______________________________________________
Gcl-devel mailing list
Gcl-devel@...
http://lists.gnu.org/mailman/listinfo/gcl-devel