I am trying to set up an OS/2 build environment for Netscape components 
- not the full browser.
Looking at the instructions at 
http://www.mozilla.org/ports/os2/vacppbuild.html, it says the various 
"configure" files have to be deleted. Then one has to build from the top 
level client.mk . This might work fine for building the browser but it 
won't work for building individual components, because client.mk simply 
isn't part of the components tree (eg. I check out only mozilla/nsprpub).

I tried running the configure script with the VACPP build environment 
and got a failure with the compiler :

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:618: checking host system type
configure:639: checking target system type
configure:657: checking build system type
configure:958: checking for whoami
configure:1808: checking for c++
configure:1840: checking whether the C++ compiler (icc  ) works
configure:1856: icc -o conftest    conftest.C  1>&5
IBM* C and C++ Compilers for OS/2*, AIX* and for Windows NT**, Version 3.6
(C) Copyright IBM Corp. 1991, 1997   All Rights Reserved.
* registered trademarks of IBM Corp., ** registered trademark of 
Microsoft Corp.


IBM(R) Linker for OS/2(R), Version 03.06.PPK1981104
Copyright (C) IBM Corporation 1988, 1998.
Copyright (C) Microsoft Corp. 1988, 1989.
All rights reserved.

D:\wtc\mozilla\nsprpub\conftest.obj(conftest.C) : error LNK2025: main : 
symbol defined more than once. Original definition in 
D:\wtc\mozilla\nsprpub\conftest.obj(conftest.C)

There was 1 error detected
configure: failed program was:

#line 1851 "configure"
#include "confdefs.h"

int main(){return(0);}

Apparently the compiler is called with a Unix-like "-o object" syntax, 
which does not work for ICC in OS/2.
I don't know anything about how autoconf works so I'm not sure how to 
fix the problem. I would like to make this work right though and am 
curious why the OS/2 browser uses a different process without configure 
and how to patch it up so the components can be built separately from 
the browser on OS/2.

-- 
The network is the computer, and it's down


Reply via email to