winxp-cygwin build makes libxx.a instead of .libs

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

winxp-cygwin build makes libxx.a instead of .libs

alan-20
Hi,
Can someone tell me how to build .lib libraries on windows instead of .a
libraries ? I've been able to build & use mozilla on Linux fine.

I followed the instructions on
http://gemal.dk/mozilla/build.html
& have finally been able to build successfully on winXP using cygwin(create
.mozconfig ./configure, make).
.mozconfig
------------------------------------------------
. $topsrcdir/browser/config/mozconfig
CC=gcc
CXX=g++
CPP=cpp
AS=as
LD=ld
ac_add_options --disable-accessibility
ac_add_options --disable-optimize
ac_add_options --disable-activex
---------------------------------------
the libraries in dist/lib are all libxxx.a, i was expecting libxxx.lib

anyway, so i think that maybe i'll just use those libs & put them in my link
line in my small test file just to see if i can compile & link with just the
basic gecko calls. just a sanity check.
[added this to link line in VC++6]
libxpcom.dll.a libembed_base_s.a libxpcomglue.a libgkgfx.dll.a
libprofdirserviceprovider_s.a nspr4_s.a

main()
{
  nsCOMPtr < nsIWebBrowser > mWebBrowser;
}

Compiling...
test.cpp
Linking...
test.obj : error LNK2001: unresolved external symbol "__declspec(dllimport)
public: __thiscall nsCOMPtr_base::~nsCOMPtr_base(void)"
(__imp_??1nsCOMPtr_base@@QAE@XZ)
Debug/test.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

test.exe - 2 error(s), 0 warning(s)

I searched for any sign of nsCOMPtr_base in the dist/lib folder but it
couldn't find any.

What am i missing here?

Thanks


_______________________________________________
mozilla-builds mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-builds
Reply | Threaded
Open this post in threaded view
|

Re: winxp-cygwin build makes libxx.a instead of .libs

Christian Biesinger
alan wrote:
> Can someone tell me how to build .lib libraries on windows instead of .a
> libraries ? I've been able to build & use mozilla on Linux fine.

By using MSVC instead of GCC.

> [added this to link line in VC++6]

Why are you using GCC to compile Mozilla, when you also have MSVC available?

nsCOMPtr is in the XPCOM Glue, see
http://developer.mozilla.org/en/docs/XPCOM_Glue#Compiling_or_linking_against_XPCOM_headers

Why are you linking against libgfx? And, I'm not sure if NSPR supports
statically linking to it particularly well...
_______________________________________________
mozilla-builds mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-builds
Reply | Threaded
Open this post in threaded view
|

Re: winxp-cygwin build makes libxx.a instead of .libs

alan-20
Thanks for the reply.
In .mozconfig, I replaced gcc & g++ with CL, and ld with LINK.
In the cygwin prompt, i did (./configure, make).... it still built .a
libraries.

I said, ok, lets get out of cygwin & do it from dos prompt.
C:\moz\mozilla-1.7.12\mozilla> make clean
C:\moz\mozilla-1.7.12\mozilla> make
.. it still built .a libraries in dist\lib.

This is a 1.7-12 build. I dont want to get updates from CVS yet. I just want
to build this release as-is.
i then try the make -f client.mk command & it complains about CVSROOT, pwd..
I dont want CVS updates yet & pwd can be doing from the prompt, so it must
be in the PATH


C:\moz\mozilla-1.7.12\mozilla>make -f client.mk
make: pwd: Command not found
make: dirname: Command not found
cvs checkout: No CVSROOT specified!  Please use the `-d' option
cvs [checkout aborted]: or set the CVSROOT environment variable.
cmp: invalid option -- t
cmp: Try `cmp --help' for more information.
mv: accessing `mp992': No such file or directory
client.mk:152: /.mozconfig.mk: No such file or directory
client.mk:153: /build/unix/modules.mk: No such file or directory
make: *** No rule to make target `/build/unix/modules.mk'.  Stop.

C:\moz\mozilla-1.7.12\mozilla>pwd
/cygdrive/c/moz/mozilla-1.7.12/mozilla

Am running out of ideas here. Can someone point me to a .mozconfig file that
will work on VC++6?
Should i use cygwin or dos prompt to build mozilla on windows?
What is the command to use?
I dont want to connect to cvsserver, as i'm doing this from home & have
limited web access.

I apologize if all this seems obvious to people more familiar with mozilla.
But I just can't get past these build issues.

Sincerely


"Christian Biesinger" <[hidden email]> wrote in message
news:dkko3m$[hidden email]...

> alan wrote:
>> Can someone tell me how to build .lib libraries on windows instead of .a
>> libraries ? I've been able to build & use mozilla on Linux fine.
>
> By using MSVC instead of GCC.
>
>> [added this to link line in VC++6]
>
> Why are you using GCC to compile Mozilla, when you also have MSVC
> available?
>
> nsCOMPtr is in the XPCOM Glue, see
> http://developer.mozilla.org/en/docs/XPCOM_Glue#Compiling_or_linking_against_XPCOM_headers
>
> Why are you linking against libgfx? And, I'm not sure if NSPR supports
> statically linking to it particularly well...


_______________________________________________
mozilla-builds mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-builds
Reply | Threaded
Open this post in threaded view
|

Re: winxp-cygwin build makes libxx.a instead of .libs

Christian Biesinger
alan wrote:
> Thanks for the reply.
> In .mozconfig, I replaced gcc & g++ with CL, and ld with LINK.

You don't ned to set CC, CXX, etc for MSVC.

May I ask why you were looking at gemal.dk instead of
http://developer.mozilla.org/en/docs/Build_Documentation?

> Am running out of ideas here. Can someone point me to a .mozconfig file that
> will work on VC++6?

An empty file will work, for MSVC on 1.7.x.

> Should i use cygwin or dos prompt to build mozilla on windows?
> What is the command to use?

Whatever you prefer, just make sure that $PATH is set up correctly.

> I dont want to connect to cvsserver, as i'm doing this from home & have
> limited web access.

Use "make -f client.mk build"; that will only compile, not update the
sources.

_______________________________________________
mozilla-builds mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-builds
Reply | Threaded
Open this post in threaded view
|

Re: winxp-cygwin build makes libxx.a instead of .libs

alan-20

I start again with a fresh copy of mozilla & when i do 'make -f client.mk
build' in an MS-DOS prompt, I get the following errors.

C:\moz\mozilla-1.7.11\mozilla>pwd
/cygdrive/c/moz/mozilla-1.7.11/mozilla

C:\moz\mozilla-1.7.11\mozilla>make -f client.mk build
make: pwd: Command not found
make: dirname: Command not found
cvs checkout: No CVSROOT specified!  Please use the `-d' option
cvs [checkout aborted]: or set the CVSROOT environment variable.
cmp: invalid option -- t
cmp: Try `cmp --help' for more information.
mv: accessing `mp660': No such file or directory
client.mk:152: /.mozconfig.mk: No such file or directory
client.mk:153: /build/unix/modules.mk: No such file or directory
make: *** No rule to make target `/build/unix/modules.mk'.  Stop.

C:\moz\mozilla-1.7.11\mozilla>echo %PATH%
C:\PROGRA~1\MIAF9D~1\Common\msdev98\BIN;C:\PROGRA~1\MIAF9D~1\VC98\BIN;C:\PROGRA~
1\MIAF9D~1\Common\TOOLS\WINNT;C:\PROGRA~1\MIAF9D~1\Common\TOOLS;C:\WINDOWS\syste
m32;C:\WINDOWS;C:\WINDOWS\System32\Wbem; C:\Program Files\Microsoft Visual
Studi
o\VC98\Bin; C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;
;C:\Pro
gram Files\Microsoft Visual Studio\VC98\Bin;c:/moztools\bin;c:\cygwin\bin;

C:\moz\mozilla-1.7.11\mozilla>

It complains about 'pwd' not found. But when i do 'pwd' from the prompt, it
runs.
what is going wrong here?
thanks


"Christian Biesinger" <[hidden email]> wrote in message
news:dklueb$[hidden email]...

> alan wrote:
>> Thanks for the reply.
>> In .mozconfig, I replaced gcc & g++ with CL, and ld with LINK.
>
> You don't ned to set CC, CXX, etc for MSVC.
>
> May I ask why you were looking at gemal.dk instead of
> http://developer.mozilla.org/en/docs/Build_Documentation?
>
>> Am running out of ideas here. Can someone point me to a .mozconfig file
>> that will work on VC++6?
>
> An empty file will work, for MSVC on 1.7.x.
>
>> Should i use cygwin or dos prompt to build mozilla on windows?
>> What is the command to use?
>
> Whatever you prefer, just make sure that $PATH is set up correctly.
>
>> I dont want to connect to cvsserver, as i'm doing this from home & have
>> limited web access.
>
> Use "make -f client.mk build"; that will only compile, not update the
> sources.
>


_______________________________________________
mozilla-builds mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-builds
Reply | Threaded
Open this post in threaded view
|

Re: winxp-cygwin build makes libxx.a instead of .libs

alan-20
Okay, i finally got a mozilla release to start compiling on WinXP, MSVC6 by
hiding c:\cygwin\bin\gcc.exe, ld.exe & running mozset.bat with the correct
path to HOME & CVSROOT. And i see it making .libs in dist/lib. yay


But it now gives errors while compiling the jpeg sources.. what's going
wrong here?

<snip>
make[4]: Leaving directory
`/cygdrive/c/moz/mozilla-1.7.12/mozilla/dbm/tests'
make[3]: Leaving directory `/cygdrive/c/moz/mozilla-1.7.12/mozilla/dbm'
make[3]: Entering directory `/cygdrive/c/moz/mozilla-1.7.12/mozilla/jpeg'
jidctint.c
Building deps for jidctint.c
/cygdrive/c/moz/mozilla-1.7.12/mozilla/build/cygwin-wrapper
cl -Fojidctint.obj -
c -D_IMPL_NS_GFX -D_IMPL_NS_MSG_BASE -D_IMPL_NS_WIDGET  -DOSTYPE=\"WINNT5.1\"
 -D
OSARCH=\"WINNT\"   -I../dist/include/jpeg -I../dist/include -I../dist/include/ns
pr         -TC -nologo -W3 -nologo -Gy -Fdjpeg3250.pdb  -DDEBUG -D_DEBUG -DDEBUG
_Owner -DTRACING -Zi -Zi -GM -MDd           -DX_DISPLAY_MISSING=1 -DMOZILLA_VERS
ION=\"1.7.12\" -DHAVE_SNPRINTF=1 -D_WINDOWS=1 -D_WIN32=1 -DWIN32=1 -DXP_WIN=1
 -D
XP_WIN32=1 -DHW_THREADS=1 -DWINVER=0x400 -DSTDC_HEADERS=1 -DWIN32_LEAN_AND_MEAN=
1 -DNO_X11=1 -D_X86_=1 -DD_INO=d_ino -DMOZ_DEFAULT_TOOLKIT=\"windows\" -DMOZ_APP
_NAME=\"mozilla\" -DOJI=1 -DIBMBIDI=1 -DMOZ_VIEW_SOURCE=1 -DACCESSIBILITY=1  
-DMO
Z_XPINSTALL=1 -DMOZ_JSLOADER=1 -DMOZ_MATHML=1 -DMOZ_LOGGING=1 -DDETECT_WEBSHELL_
LEAKS=1 -DMOZ_USER_DIR=\"Mozilla\" -DMOZ_XUL=1 -DMOZ_PROFILESHARING=1 -DMOZ_PROF
ILELOCKING=1 -DMOZ_DLL_SUFFIX=\".dll\" -DJS_THREADSAFE=1 -DNS_PRINT_PREVIEW=1
 -D
NS_PRINTING=1 -DMOZ_REFLOW_PERF=1 -DMOZ_REFLOW_PERF_DSP=1 -DMOZILLA_LOCALE_VERSI
ON=\"1.7\" -DMOZILLA_REGION_VERSION=\"1.7\" -DMOZILLA_SKIN_VERSION=\"1.5\"  
-D_M
OZILLA_CONFIG_H_ -DMOZILLA_CLIENT
/cygdrive/c/moz/mozilla-1.7.12/mozilla/jpeg/ji
dctint.c
jidctint.c
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(453) : error C2485: 'align' :
unre
cognized extended attribute
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(453) : error C2059: syntax
error :
 '('
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(465) : error C2485: 'align' :
unre
cognized extended attribute
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(465) : error C2059: syntax
error :
 '('
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(477) : error C2485: 'align' :
unre
cognized extended attribute
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(477) : error C2059: syntax
error :
 '('
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(489) : error C2485: 'align' :
unre
cognized extended attribute
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(489) : error C2059: syntax
error :
 '('
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(499) : error C2485: 'align' :
unre
cognized extended attribute
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(499) : error C2059: syntax
error :
 '('
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(501) : error C2485: 'align' :
unre
cognized extended attribute
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(501) : error C2059: syntax
error :
 '('
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(503) : error C2485: 'align' :
unre
cognized extended attribute
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(503) : error C2059: syntax
error :
 '('
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(505) : error C2485: 'align' :
unre
cognized extended attribute
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(505) : error C2059: syntax
error :
 '('
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(507) : error C2485: 'align' :
unre
cognized extended attribute
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(507) : error C2059: syntax
error :
 '('
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(509) : error C2485: 'align' :
unre
cognized extended attribute
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(509) : error C2059: syntax
error :
 '('
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(511) : error C2485: 'align' :
unre
cognized extended attribute
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(511) : error C2059: syntax
error :
 '('
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(513) : error C2485: 'align' :
unre
cognized extended attribute
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(513) : error C2059: syntax
error :
 '('
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(516) : error C2485: 'align' :
unre
cognized extended attribute
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(516) : error C2059: syntax
error :
 '('
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(519) : error C2485: 'align' :
unre
cognized extended attribute
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(519) : error C2059: syntax
error :
 '('
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(522) : error C2485: 'align' :
unre
cognized extended attribute
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(522) : error C2059: syntax
error :
 '('
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(525) : error C2485: 'align' :
unre
cognized extended attribute
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(525) : error C2059: syntax
error :
 '('
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(716) : error C2400: inline
assembl
er syntax error in 'opcode'; found 'xmm0'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(717) : error C2400: inline
assembl
er syntax error in 'opcode'; found 'xmm4'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2400: inline
assembl
er syntax error in 'opcode'; found 'xmm1'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2400: inline
assembl
er syntax error in 'opcode'; found 'xmm0'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2400: inline
assembl
er syntax error in 'opcode'; found 'xmm1'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2400: inline
assembl
er syntax error in 'opcode'; found 'xmm0'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2400: inline
assembl
er syntax error in 'opcode'; found 'xmm2'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2415: improper
opera
nd type
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2400: inline
assembl
er syntax error in 'opcode'; found 'xmm3'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2415: improper
opera
nd type
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2408: illegal
type o
n PTR operator in 'second operand'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2415: improper
opera
nd type
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2408: illegal
type o
n PTR operator in 'second operand'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2415: improper
opera
nd type
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2400: inline
assembl
er syntax error in 'opcode'; found 'xmm5'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2400: inline
assembl
er syntax error in 'opcode'; found 'xmm4'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2400: inline
assembl
er syntax error in 'opcode'; found 'xmm5'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2400: inline
assembl
er syntax error in 'opcode'; found 'xmm4'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2400: inline
assembl
er syntax error in 'opcode'; found 'xmm6'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2415: improper
opera
nd type
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2400: inline
assembl
er syntax error in 'opcode'; found 'xmm7'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2415: improper
opera
nd type
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2408: illegal
type o
n PTR operator in 'second operand'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2415: improper
opera
nd type
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2408: illegal
type o
n PTR operator in 'second operand'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2415: improper
opera
nd type
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2400: inline
assembl
er syntax error in 'opcode'; found 'xmm1'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2400: inline
assembl
er syntax error in 'opcode'; found 'xmm0'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2408: illegal
type o
n PTR operator in 'second operand'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2415: improper
opera
nd type
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2415: improper
opera
nd type
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2415: improper
opera
nd type
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2400: inline
assembl
er syntax error in 'opcode'; found 'xmm5'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2400: inline
assembl
er syntax error in 'opcode'; found 'xmm4'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2400: inline
assembl
er syntax error in 'opcode'; found 'xmm2'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2415: improper
opera
nd type
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2415: improper
opera
nd type
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2415: improper
opera
nd type
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2415: improper
opera
nd type
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2415: improper
opera
nd type
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2408: illegal
type o
n PTR operator in 'second operand'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2415: improper
opera
nd type
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2415: improper
opera
nd type
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2415: improper
opera
nd type
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2400: inline
assembl
er syntax error in 'opcode'; found 'xmm6'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2415: improper
opera
nd type
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2415: improper
opera
nd type
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2415: improper
opera
nd type
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2415: improper
opera
nd type
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(718) : error C2415: improper
opera
nd type
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(719) : error C2400: inline
assembl
er syntax error in 'opcode'; found '['
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(720) : error C2400: inline
assembl
er syntax error in 'opcode'; found '['
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(722) : error C2400: inline
assembl
er syntax error in 'opcode'; found 'xmm0'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(723) : error C2400: inline
assembl
er syntax error in 'opcode'; found 'xmm4'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(724) : error C2400: inline
assembl
er syntax error in 'opcode'; found 'xmm1'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(724) : error C2400: inline
assembl
er syntax error in 'opcode'; found 'xmm0'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(724) : error C2400: inline
assembl
er syntax error in 'opcode'; found 'xmm1'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(724) : error C2400: inline
assembl
er syntax error in 'opcode'; found 'xmm0'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(724) : error C2400: inline
assembl
er syntax error in 'opcode'; found 'xmm2'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(724) : error C2415: improper
opera
nd type
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(724) : error C2400: inline
assembl
er syntax error in 'opcode'; found 'xmm3'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(724) : error C2415: improper
opera
nd type
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(724) : error C2408: illegal
type o
n PTR operator in 'second operand'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(724) : error C2415: improper
opera
nd type
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(724) : error C2408: illegal
type o
n PTR operator in 'second operand'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(724) : error C2415: improper
opera
nd type
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(724) : error C2400: inline
assembl
er syntax error in 'opcode'; found 'xmm5'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(724) : error C2400: inline
assembl
er syntax error in 'opcode'; found 'xmm4'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(724) : error C2400: inline
assembl
er syntax error in 'opcode'; found 'xmm5'
c:/moz/mozilla-1.7.12/mozilla/jpeg/jidctint.c(724) : fatal error C1003:
error co
unt exceeds 100; stopping compilation
make[3]: *** [jidctint.obj] Error 2
make[3]: Leaving directory `/cygdrive/c/moz/mozilla-1.7.12/mozilla/jpeg'
make[2]: *** [tier_1] Error 2
make[2]: Leaving directory `/cygdrive/c/moz/mozilla-1.7.12/mozilla'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/cygdrive/c/moz/mozilla-1.7.12/mozilla'
make: *** [build] Error 2


_______________________________________________
mozilla-builds mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-builds
Reply | Threaded
Open this post in threaded view
|

Re: winxp-cygwin build makes libxx.a instead of .libs

alan-20
I got past the jpeg error by using the jpeg directory from an earlier cvs
checkout  of mozilla, & it went ahead & compiled past that point. But now it
stalls on a
comctl32.lib error. I have comctl32.lib in my MSVC/lib path, but i dont know
why its complaining .

make[4]: *** No rule to make target `comctl32.lib', needed by `viewer.exe'.
Sto


sed -e "s|%DECL_NSGETMODULES%|DECL_NSGETMODULE(xpcomObsoleteModule)
DECL_NSGETMO
DULE(xpconnect) DECL_NSGETMODULE(xpconnect_test)
DECL_NSGETMODULE(nsUConvModule)
 DECL_NSGETMODULE(nsUCvMathModule) DECL_NSGETMODULE(nsI18nModule)
DECL_NSGETMODU
LE(I18nCompatibility) DECL_NSGETMODULE(nsCJVMManagerModule)
DECL_NSGETMODULE(ipc
d) DECL_NSGETMODULE(necko_core_and_primary_protocols)
DECL_NSGETMODULE(necko_sec
ondary_protocols) DECL_NSGETMODULE(nsPrefModule)
DECL_NSGETMODULE(nsSecurityMana
gerModule) DECL_NSGETMODULE(nsRDFModule) DECL_NSGETMODULE(nsParserModule)
DECL_N
SGETMODULE(nsGfxModule) DECL_NSGETMODULE(nsIconDecoderModule)
DECL_NSGETMODULE(n
sImageLib2Module) DECL_NSGETMODULE(nsPluginModule)
DECL_NSGETMODULE(nsWidgetModu
le) DECL_NSGETMODULE(nsLayoutModule) DECL_NSGETMODULE(nsMorkModule)
DECL_NSGETMO
DULE(docshell_provider) DECL_NSGETMODULE(nsProfileModule)
DECL_NSGETMODULE(nsPre
fMigrationModule) DECL_NSGETMODULE(embedcomponents)
DECL_NSGETMODULE(Browser_Emb
edding_Module) DECL_NSGETMODULE(nsEditorModule)
DECL_NSGETMODULE(nsTransactionMa
nagerModule) DECL_NSGETMODULE(nsComposerModule) DECL_NSGETMODULE(appshell)
DECL_
NSGETMODULE(nsChromeModule) DECL_NSGETMODULE(nsAccessibilityModule)
DECL_NSGETMO
DULE(nsLDAPProtocolModule) DECL_NSGETMODULE(nsFindComponent)
DECL_NSGETMODULE(ap
plication) DECL_NSGETMODULE(nsCookieModule) DECL_NSGETMODULE(nsWalletModule)
DEC
L_NSGETMODULE(nsWalletViewerModule) DECL_NSGETMODULE(nsXMLExtrasModule)
DECL_NSG
ETMODULE(nsP3PModule) DECL_NSGETMODULE(nsAutoConfigModule)
DECL_NSGETMODULE(Tran
sformiixModule) DECL_NSGETMODULE(nsUniversalCharDetModule)
DECL_NSGETMODULE(nsTy
peAheadFind) DECL_NSGETMODULE(WSPProxyTestModule)
DECL_NSGETMODULE(nsWebServices
Module) DECL_NSGETMODULE(nsNegotiateAuthModule)
DECL_NSGETMODULE(nsMsgBaseModule
) DECL_NSGETMODULE(nsMsgDBModule) DECL_NSGETMODULE(nsMsgNewsModule)
DECL_NSGETMO
DULE(local_mail_services) DECL_NSGETMODULE(nsMimeEmitterModule)
DECL_NSGETMODULE
(nsVCardModule) DECL_NSGETMODULE(nsSMIMEModule)
DECL_NSGETMODULE(mime_services)
DECL_NSGETMODULE(nsMsgComposeModule) DECL_NSGETMODULE(IMAP_factory)
DECL_NSGETMO
DULE(nsAbModule) DECL_NSGETMODULE(nsImportServiceModule)
DECL_NSGETMODULE(nsText
ImportModule) DECL_NSGETMODULE(nsComm4xMailImportModule)
DECL_NSGETMODULE(nsEudo
raImportModule) DECL_NSGETMODULE(nsOEImport)
DECL_NSGETMODULE(nsOutlookImport) D
ECL_NSGETMODULE(nsMsgMdnModule) DECL_NSGETMODULE(nsMsgMailViewModule)
DECL_NSGET
MODULE(nsBayesianFilterModule) DECL_NSGETMODULE(msgMapiModule)|" | \
sed -e "s|%MODULE_LIST%|MODULE(xpcomObsoleteModule), MODULE(xpconnect),
MODULE(x
pconnect_test), MODULE(nsUConvModule), MODULE(nsUCvMathModule),
MODULE(nsI18nMod
ule), MODULE(I18nCompatibility), MODULE(nsCJVMManagerModule), MODULE(ipcd),
MODU
LE(necko_core_and_primary_protocols), MODULE(necko_secondary_protocols),
MODULE(
nsPrefModule), MODULE(nsSecurityManagerModule), MODULE(nsRDFModule),
MODULE(nsPa
rserModule), MODULE(nsGfxModule), MODULE(nsIconDecoderModule),
MODULE(nsImageLib
2Module), MODULE(nsPluginModule), MODULE(nsWidgetModule),
MODULE(nsLayoutModule)
, MODULE(nsMorkModule), MODULE(docshell_provider), MODULE(nsProfileModule),
MODU
LE(nsPrefMigrationModule), MODULE(embedcomponents),
MODULE(Browser_Embedding_Mod
ule), MODULE(nsEditorModule), MODULE(nsTransactionManagerModule),
MODULE(nsCompo
serModule), MODULE(appshell), MODULE(nsChromeModule),
MODULE(nsAccessibilityModu
le), MODULE(nsLDAPProtocolModule), MODULE(nsFindComponent),
MODULE(application),
 MODULE(nsCookieModule), MODULE(nsWalletModule),
MODULE(nsWalletViewerModule), M
ODULE(nsXMLExtrasModule), MODULE(nsP3PModule), MODULE(nsAutoConfigModule),
MODUL
E(TransformiixModule), MODULE(nsUniversalCharDetModule),
MODULE(nsTypeAheadFind)
, MODULE(WSPProxyTestModule), MODULE(nsWebServicesModule),
MODULE(nsNegotiateAut
hModule), MODULE(nsMsgBaseModule), MODULE(nsMsgDBModule),
MODULE(nsMsgNewsModule
), MODULE(local_mail_services), MODULE(nsMimeEmitterModule),
MODULE(nsVCardModul
e), MODULE(nsSMIMEModule), MODULE(mime_services),
MODULE(nsMsgComposeModule), MO
DULE(IMAP_factory), MODULE(nsAbModule), MODULE(nsImportServiceModule),
MODULE(ns
TextImportModule), MODULE(nsComm4xMailImportModule),
MODULE(nsEudoraImportModule
), MODULE(nsOEImport), MODULE(nsOutlookImport), MODULE(nsMsgMdnModule),
MODULE(n
sMsgMailViewModule), MODULE(nsBayesianFilterModule),
MODULE(msgMapiModule),|" \
> nsStaticComponents.cpp
nsStaticComponents.cpp
Building deps for nsStaticComponents.cpp
/cygdrive/c/moz/mozilla-1.7.12/mozilla/build/cygwin-wrapper
cl -FonsStaticCompon
ents.obj -c -D_IMPL_NS_GFX -D_IMPL_NS_MSG_BASE -D_IMPL_NS_WIDGET  -DOSTYPE=\"WIN
NT5.1\" -DOSARCH=\"WINNT\" -D_BUILD_STATIC_BIN=1 -DUSE_LOCAL_WIDGETS  -I../../..
/dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/embed
_base -I../../../dist/include/webshell -I../../../dist/include/widget -I../../..
/dist/include/gfx -I../../../dist/include/layout -I../../../dist/include/content
 -I../../../dist/include/dom -I../../../dist/include/webbrwsr -I../../../dist/in
clude/docshell -I../../../dist/include/util -I../../../dist/include/uriloader
 -I
../../../dist/include/locale -I../../../dist/include/necko -I../../../dist/inclu
de/htmlparser -I../../../dist/include/view -I../../../dist/include/pref -I../../
../dist/include/intl -I../../../dist/include/unicharutil -I../../../dist/include
/editor -I../../../dist/include/windowwatcher -I../../../dist/include/xpconnect
-I../../../dist/include/js -I../../../dist/include/webshell_tests -I../../../dis
t/include -I../../../dist/include/nspr          -TP -nologo -W3 -nologo -Gy
-Fdn
sStaticComponents.pdb  -DDEBUG -D_DEBUG -DDEBUG_Owner -DTRACING -Zi -DWIDGET_DLL
=\"libwidget_windows.dll\" -DGFXWIN_DLL=\"libgfx_windows.dll\"  -MDd
   -
DX_DISPLAY_MISSING=1 -DMOZILLA_VERSION=\"1.7.12\" -DHAVE_SNPRINTF=1 -D_WINDOWS=1
 -D_WIN32=1 -DWIN32=1 -DXP_WIN=1 -DXP_WIN32=1 -DHW_THREADS=1 -DWINVER=0x400
-DST
DC_HEADERS=1 -DWIN32_LEAN_AND_MEAN=1 -DNO_X11=1 -D_X86_=1 -DD_INO=d_ino -DMOZ_DE
FAULT_TOOLKIT=\"windows\" -DMOZ_APP_NAME=\"mozilla\" -DOJI=1 -DIBMBIDI=1 -DMOZ_V
IEW_SOURCE=1 -DACCESSIBILITY=1 -DMOZ_XPINSTALL=1 -DMOZ_JSLOADER=1 -DMOZ_MATHML=1
 -DMOZ_LOGGING=1 -DDETECT_WEBSHELL_LEAKS=1 -DMOZ_USER_DIR=\"Mozilla\" -DMOZ_XUL=
1 -DMOZ_PROFILESHARING=1 -DMOZ_PROFILELOCKING=1 -DMOZ_DLL_SUFFIX=\".dll\" -DJS_T
HREADSAFE=1 -DNS_PRINT_PREVIEW=1 -DNS_PRINTING=1 -DMOZ_REFLOW_PERF=1 -DMOZ_REFLO
W_PERF_DSP=1 -DMOZILLA_LOCALE_VERSION=\"1.7\" -DMOZILLA_REGION_VERSION=\"1.7\"
 -
DMOZILLA_SKIN_VERSION=\"1.5\"  -D_MOZILLA_CONFIG_H_ -DMOZILLA_CLIENT
/cygdrive/c
/moz/mozilla-1.7.12/mozilla/webshell/tests/viewer/nsStaticComponents.cpp
nsStaticComponents.cpp
make[4]: *** No rule to make target `comctl32.lib', needed by `viewer.exe'.
Sto
p.
make[4]: Leaving directory
`/cygdrive/c/moz/mozilla-1.7.12/mozilla/webshell/test
s/viewer'
make[3]: *** [libs] Error 2
make[3]: Leaving directory
`/cygdrive/c/moz/mozilla-1.7.12/mozilla/webshell/test
s'
make[2]: *** [tier_99] Error 2
make[2]: Leaving directory `/cygdrive/c/moz/mozilla-1.7.12/mozilla'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/cygdrive/c/moz/mozilla-1.7.12/mozilla'
make: *** [build] Error 2

C:\moz\mozilla-1.7.12\mozilla>


"alan" <[hidden email]> wrote in message
news:dlqiga$[hidden email]...
> Okay, i finally got a mozilla release to start compiling on WinXP, MSVC6
> by hiding c:\cygwin\bin\gcc.exe, ld.exe & running mozset.bat with the
> correct path to HOME & CVSROOT. And i see it making .libs in dist/lib. yay
>
>
> But it now gives errors while compiling the jpeg sources.. what's going
> wrong here?
>



_______________________________________________
mozilla-builds mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-builds
Reply | Threaded
Open this post in threaded view
|

Re: winxp-cygwin build makes libxx.a instead of .libs

Christian Biesinger
alan wrote:
> I got past the jpeg error by using the jpeg directory from an earlier cvs
> checkout  of mozilla, & it went ahead & compiled past that point. But now it
> stalls on a
> comctl32.lib error. I have comctl32.lib in my MSVC/lib path, but i dont know
> why its complaining .

I believe viewer is compiled at the very end of the build process, when
the actual binary is already produced. Do you have a
dist/bin/mozilla.exe? If so, you can just run that, the build is finished.
_______________________________________________
mozilla-builds mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-builds
Reply | Threaded
Open this post in threaded view
|

Re: winxp-cygwin build makes libxx.a instead of .libs

alan-20
In reply to this post by alan-20
I think it finally built. I copied this .mozconfig posted on another thread.
-------------------
mk_add_options MOZ_CO_PROJECT=browser

# Options for 'configure' (same as command-line options).
ac_add_options --enable-application=browser
ac_add_options --disable-mailnews
----------------------

"alan" <[hidden email]> wrote in message
news:dlqvnp$[hidden email]...

>I got past the jpeg error by using the jpeg directory from an earlier cvs
> checkout  of mozilla, & it went ahead & compiled past that point. But now
> it stalls on a
> comctl32.lib error. I have comctl32.lib in my MSVC/lib path, but i dont
> know
> why its complaining .
>
> make[4]: *** No rule to make target `comctl32.lib', needed by
> `viewer.exe'.
> Sto
>


_______________________________________________
mozilla-builds mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-builds