Re: Error while cimpile stlport module of OOo 1.1.5

Volker Quetschke <[email protected]>
Newsgroups gmane.comp.openoffice.devel.tools
Message-ID <[email protected]>
> now I get an error while compile stlport module:
>         cl.exe /nologo /c /Zi /W3 /GR /GX /D "WIN32" /D "_WINDOWS" /I "..\\stlpo
> rt" /TP /FI "vc_warning_disable.h" /D "_MBCS" /MD /O2 /DNDEBUG   /Fo"..\\lib\\ob
> j\\VC7\\ReleaseD\\" /Fd"..\\lib\\obj\\VC7\\ReleaseD\\" .\string_w.cpp
> string_w.cpp
>         rc /d COMP=VC7 /fo ..\\lib\\obj\\VC7\\ReleaseD\stlport.res .\stlport.rc
>         link.exe /out:..\\lib\\stlport_vc745.dll /nologo /machine:I386 /debugtype:cv /dll /incremental:no /opt:ref /implib:"..\\lib\stlport_vc7.lib" ..\\lib\\obj\\VC7\\ReleaseD\\dll_main.obj  ..\\lib\\obj\\VC7\\ReleaseD\\fstream.obj  ..\\lib\\obj\\VC7\\ReleaseD\\strstream.obj  ..\\lib\\obj\\VC7\\ReleaseD\\sstream.obj
> ..\\lib\\obj\\VC7\\ReleaseD\\ios.obj  ..\\lib\\obj\\VC7\\ReleaseD\\streambuf.obj  ..\\lib\\obj\\VC7\\ReleaseD\\stdio_streambuf.obj  ..\\lib\\obj\\VC7\\ReleaseD\\istream.obj  ..\\lib\\obj\\VC7\\ReleaseD\\ostream.obj  ..\\lib\\obj\\VC7\\ReleaseD\\iostream.obj  ..\\lib\\obj\\VC7\\ReleaseD\\codecvt.obj  ..\\lib\\obj\\VC7\\ReleaseD\\collate.obj  ..\\lib\\obj\\VC7\\ReleaseD\\ctype.obj  ..\\lib\\obj\\VC7\\ReleaseD\\monetary.obj  ..\\lib\\obj\\VC7\\ReleaseD\\num_get.obj  ..\\lib\\obj\\VC7\\ReleaseD\\num_put.obj  ..\\lib\\obj\\VC7\\ReleaseD\\num_get_float.obj  ..\\lib\\obj\\VC7\\ReleaseD\\num_put_float.obj  ..\\lib\\obj\\VC7\\ReleaseD\\numpunct.obj  ..\\lib\\obj\\VC7\\ReleaseD\\time_facets.obj  ..\\lib\\obj\\VC7\\ReleaseD\\messages.obj  ..\\lib\\obj\\VC7\\ReleaseD\\locale_impl.obj  ..\\lib\\obj\\VC7\\ReleaseD\\locale.obj  ..\\lib\\obj\\VC7\\ReleaseD\\locale_catalog.obj  ..\\lib\\obj\\VC7\\Relea
 seD\\facets_byname.obj  ..\\lib\\obj\\VC7\\ReleaseD\\c_locale.obj  ..\\lib\\obj\\VC7\\Rel
eas
>  eD\\c_locale_stub.obj  ..\\lib\\obj\\VC7\\ReleaseD\\complex.obj  ..\\lib\\obj\\VC7\\ReleaseD\\complex_exp.obj  ..\\lib\\obj\\VC7\\ReleaseD\\complex_io.obj  ..\\lib\\obj\\VC7\\ReleaseD\\complex_trig.obj  ..\\lib\\obj\\VC7\\ReleaseD\\complex_io_w.obj  ..\\lib\\obj\\VC7\\ReleaseD\\string_w.obj  ..\\lib\\obj\\VC7\\ReleaseD\\stlport.res
> link: extra operand `/machine:I386'
> Try `link --help' for more information.

That is the error output of cygwins link.exe. You must have the cygwin path before
the microsoft path.

* Can you create an issue which states the output of $PATH before you
call configure.

$ echo $PATH

* The complete commandline when calling configure.

* The generated winenv.set

Volker

P.S.: Workaround: Move the cygwin part in the PATH entry in winenv.set to the end.

--
If you like my work consider:  http://www.scytek.de/donations.html
PGP/GPG key  (ID: 0x9F8A785D)  available  from  wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D
signature.asc (application/pgp-signature, 252 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MinGW)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDLYeJPTXJup+KeF0RAiuOAJ9QMhUwGwhHVRUdlwIXErSzgeIuwACfRakP
DLO0ldPN/MUPf7G68TMWqJg=
=1zdC
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.