Boost logo

Boost :

From: SourceForge.net (noreply_at_[hidden])
Date: 2005-10-27 12:59:57


Support Requests item #1339778, was opened at 2005-10-27 10:59
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=207586&aid=1339778&group_id=7586

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Building Boost
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Problem running configure for unsupported platform

Initial Comment:
I'm trying to build Boost for HP NonStop system using a
cross compiler running on cygwin. I'm just starting
out trying to run ".../boost/libs/config/configure" to
generate an initial confg header. This is failing on
the attempt to simply compile an empty "main"

configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }

If I manually create such a file and compile it with
the following line, I find the following:

DKICK1_at_IL27-7496 /usr/local/boost_1_33_0/libs/config
$ ls
config.htm config.log configure duff.cc index.html
 test tools

DKICK1_at_IL27-7496 /usr/local/boost_1_33_0/libs/config
$ cat duff.cc
int
main ()
{

   ;
   return 0;
}

DKICK1_at_IL27-7496 /usr/local/boost_1_33_0/libs/config
$ /usr/local/compaq-etk-nse/G06.24/bin/c89.exe
-Wversion3 -Winspect -Wsaveabend
 -Wrefalign=2 -Wfieldalign=auto -Wnolist -Wverbose -WC
-Wrunnamed -Whighpin=off
 -Wnld="-allow_missing_libs -libname
$APPL1.CSSLIB.NLIBRARY -libvol $APPL1.CSSL
IB" -Wsystype=guardian duff.cc
c89 args: C:\Program Files\Compaq
ETK-NSE\G06.24\bin\c89.exe -Wversion3 -Winspec
t -Wsaveabend -Wrefalign=2 -Wfieldalign=auto -Wnolist
-Wverbose -WC -Wrunnamed -
Whighpin=off -Wnld=-allow_missing_libs -libname
.CSSLIB.NLIBRARY -libvol .CSSLIB
 -Wsystype=guardian duff.cc
C:\Program Files\Compaq ETK-NSE\G06.24\cmplr\cfe.dll loaded
C:\Program Files\Compaq ETK-NSE\G06.24\cmplr\uopt.dll
loaded
C:\Program Files\Compaq ETK-NSE\G06.24\cmplr\ugen.dll
loaded
C:\Program Files\Compaq ETK-NSE\G06.24\cmplr\as1.dll loaded

c89: running C:\Program Files\Compaq
ETK-NSE\G06.24\cmplr\cfe.dll -ZtG -ZR2 -Zg0
 -ZSD:\Profiles\DKICK1\LOCALS~1\Temp\t216328.T
-ZUD:\Profiles\DKICK1\LOCALS~1\Te
mp\t316328.B -D__cplusplus -a -ZnA -a -C -Zz
-IC:\Program Files\Compaq ETK-NSE\G
06.24\include\ duff.cc

c89: running C:\Program Files\Compaq
ETK-NSE\G06.24\cmplr\ugen.dll D:\Profiles\D
KICK1\LOCALS~1\Temp\t316328.B -o
D:\Profiles\DKICK1\LOCALS~1\Temp\ugen216328.G -
t D:\Profiles\DKICK1\LOCALS~1\Temp\t216328.T -temp
D:\Profiles\DKICK1\LOCALS~1\T
emp\ugen316328.t -EB -g0 -O1 -G 8

c89: running C:\Program Files\Compaq
ETK-NSE\G06.24\cmplr\as1.dll D:\Profiles\DK
ICK1\LOCALS~1\Temp\ugen216328.G -o duff.o -t
D:\Profiles\DKICK1\LOCALS~1\Temp\t2
16328.T -Olimit 2500 -EB -g0 -O1 -elf -G 8
C:\Program Files\Compaq ETK-NSE\G06.24\cmplr\nld.dll loaded

c89: running C:\Program Files\Compaq
ETK-NSE\G06.24\cmplr\nld.dll -allow_missing
_libs -libname .CSSLIB.NLIBRARY -libvol .CSSLIB -o
a.out -elf -set systype guard
ian -set highpin off -set highrequestor off -set
inspect on -set runnamed on -se
t saveabend on C:\Program Files\Compaq
ETK-NSE\G06.24\lib\crtlmain.o C:\Program
Files\Compaq ETK-NSE\G06.24\lib\cppinit3.o duff.o -L
C:\Program Files\Compaq ETK
-NSE\G06.24\lib\ -lstl -obey C:\Program Files\Compaq
ETK-NSE\G06.24\lib\libc.obe
y
c89.exe: Exiting with status 0; 0 error(s).

DKICK1_at_IL27-7496 /usr/local/boost_1_33_0/libs/config
$ ls
a.out config.htm config.log configure duff.cc
index.html test tools

DKICK1_at_IL27-7496 /usr/local/boost_1_33_0/libs/config
$

However, if I try the following:

DKICK1_at_IL27-7496 /usr/local/boost_1_33_0/libs/config
$ sh ./configure
CXX=/usr/local/compaq-etk-nse/G06.24/bin/c89
CXXFLAGS='-Wversi
on3 -Winspect -Wsaveabend -Wrefalign=2
-Wfieldalign=auto -Wnolist -Wverbose -WC
' LDFLAGS='-Wrunnamed -Whighpin=off
-Wnld="-allow_missing_libs -libname \
.CSSLIB.NLIBRARY -libvol $APPL1.CSSLIB" -Wsystype=guardian'

I get the attached config.log.

I'm sure that the problem has something to do with
quoting/expansion/etc. I've tried variations on the
theme, including exporting these environment variables
instead of passing them on the command line, but I
can't seem to find the right combination of quotes and
escapes to get configure to do what I want it to do.
Any help?

BTW, the option to get this compiler to dump the
version is '-Wversion'.

$ /usr/local/compaq-etk-nse/G06.24/bin/c89.exe -Wversion
@(#) $Version: T8164G09_01MAR2004_c89_05MAR2004_WIN32V_
$c89.exe: error: No input file.

I'm not sure how to get configure to use this option
correctly, though.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=207586&aid=1339778&group_id=7586

-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Boost-bugs mailing list
Boost-bugs_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/boost-bugs


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk