HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: guile-1.6.7 Source Modifications
Operating System - HP-UX
1834828
Members
2370
Online
110070
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2005 12:14 PM
06-01-2005 12:14 PM
guile-1.6.7 Source Modifications
Dear ITRC forums community:
If someone has successfully compiled guile-1.6.7 on HP-UX (any version), and if you are willing and able, would you please let me know what changes to the sources are required?
I am using gcc:
gcc -v
Using built-in specs.
Target: hppa64-hp-hpux11.00
Configured with: ../gcc-4.0.0/configure --prefix=/usr/local/pa20_64 --enable-threads --enable-threads=posix95 --with-gnu-as --with-as=/usr/local/pa20_64/bin/as --disable-nls --with-gmp=/usr/local/pa20_64 --with-mpfr=/usr/local/pa20_64 --disable-shared --enable-languages=c,c++
Thread model: posix95
gcc version 4.0.0
on HP-UX 11.00:
uname -a
HP-UX voltaire B.11.00 U 9000/785 2015073023 unlimited-user license
So far I have modified:
objdir/libguile/guile.c -- change:
91 /* extern const scm_lt_dlsymlist lt_preloaded_symbols[]; */
to:
91 extern const scm_lt_dlsymlist *lt_preloaded_symbols;
and
libtool -- change:
287 hardcode_libdir_flag_spec_ld="+b \$libdir"
to:
287 hardcode_libdir_flag_spec_ld="\${wl}+b \${wl}\$libdir"
7009 hardcode_libdir_flag_spec_ld="+b \$libdir"
to:
7009 hardcode_libdir_flag_spec_ld="\${wl}+b \${wl}\$libdir"
If someone has successfully compiled guile-1.6.7 on HP-UX (any version), and if you are willing and able, would you please let me know what changes to the sources are required?
I am using gcc:
gcc -v
Using built-in specs.
Target: hppa64-hp-hpux11.00
Configured with: ../gcc-4.0.0/configure --prefix=/usr/local/pa20_64 --enable-threads --enable-threads=posix95 --with-gnu-as --with-as=/usr/local/pa20_64/bin/as --disable-nls --with-gmp=/usr/local/pa20_64 --with-mpfr=/usr/local/pa20_64 --disable-shared --enable-languages=c,c++
Thread model: posix95
gcc version 4.0.0
on HP-UX 11.00:
uname -a
HP-UX voltaire B.11.00 U 9000/785 2015073023 unlimited-user license
So far I have modified:
objdir/libguile/guile.c -- change:
91 /* extern const scm_lt_dlsymlist lt_preloaded_symbols[]; */
to:
91 extern const scm_lt_dlsymlist *lt_preloaded_symbols;
and
libtool -- change:
287 hardcode_libdir_flag_spec_ld="+b \$libdir"
to:
287 hardcode_libdir_flag_spec_ld="\${wl}+b \${wl}\$libdir"
7009 hardcode_libdir_flag_spec_ld="+b \$libdir"
to:
7009 hardcode_libdir_flag_spec_ld="\${wl}+b \${wl}\$libdir"
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2005 01:32 PM
06-01-2005 01:32 PM
Re: guile-1.6.7 Source Modifications
Figured it out... will post patch shortly.
Best regards,
Kevin Schultz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2005 03:23 PM
06-01-2005 03:23 PM
Re: guile-1.6.7 Source Modifications
Dear ITRC forums community:
Here is my patch, really not very good, because it only patches the configure, aclocal.m4, and libguile and guile.c files when really the scripts which generate the configure and aclocal.m4 file should be patched to fix this "bug."
I am probably doing something really dumb because I am new at this, but it seem that configure was not recognizing that I was using GCC properly, and used the +b instead of "-Wl,+b" format needed by GCC. This is a hard-coding of the GCC format for:
_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
to always use the GCC linker format.
Best regards,
Kevin
Here is my patch, really not very good, because it only patches the configure, aclocal.m4, and libguile and guile.c files when really the scripts which generate the configure and aclocal.m4 file should be patched to fix this "bug."
I am probably doing something really dumb because I am new at this, but it seem that configure was not recognizing that I was using GCC properly, and used the +b instead of "-Wl,+b" format needed by GCC. This is a hard-coding of the GCC format for:
_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
to always use the GCC linker format.
Best regards,
Kevin
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP