openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amali Praveena Soban Kumar <samaliprave...@yahoo.com.au>
Subject Re: About ant
Date Sat, 09 Aug 2014 21:07:03 GMT
Hi Regina,
winunistd/unistd.h is a dummy file created by this code in winunistd/makefile.mk
# --- Files --------------------------------------------------------

.IF "$(GUI)"=="WNT"
.IF "$(COM)"!="GCC"
# provide dummy header for generated sources
$(INCCOM)$/unistd.h : unistd.h
    @$(COPY) $< $@
In my Linux system, winunistd/unistd.h has only this content:
amali@ubuntu:/media/amali/source/aoo-trunk/main/soltools/winunistd$ cat unistd.h
/* Dummy unistd.h for the wntmsci3 environment. Required because flex 
 * generates a lexical scanner which includes <unistd.h>
 */
Maybe, try creating this file manually and check if the build is working? Or, you can find
out why it is not generating this dummy file.
Thanks,
Amali.



On Thursday, 7 August 2014 2:10 PM, Regina Henschel <rb.henschel@t-online.de> wrote:
 


Hi Aron,

soyol aron schrieb:
> Hi
>
> Thank you Kay and Regina
> About spaces, actually there were spaces in my originally command line
> before,but unfortunately, they are gone...
> I've found the answer to my question. When I added the jdk_home into
> configure option,the error was gone.

:)

> My new configure command line looks like:
>
> $ ./configure \
> --with-frame-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0" \
> --with-psdk-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0" \
> --with-nsis-path="/cygdrive/c/Program Files (x86)/NSIS" \
> --with-midl-path="/cygdrive/c/Program Files/Microsoft
> SDKs/Windows/v7.0/Bin" \
> --with-directx-home="/cygdrive/c/Program Files (x86)/Microsoft DirectX SDK
> (June 2010)" \
> --with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.8.0_05" \
> --with-ant-home="/cygdrive/c/ant" \
> --with-dmake-url="
> http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2" \
> --enable-pch \
> --disable-atl \
> --disable-activex \
> --disable-nss-module \
> --without-junit \
> --enable-category-b \
> --with-lang="ja zh mn" \
>
 --with-vendor="ARONSOYOL" \
> --with-build-version="aron_2014_08_05"
>
> But  after I did
>     ./bootstrap
>     source winenv.set.sh
>     cd instsetoo_native/
>     build --all
> the following error occurred,
>
> =============
> Building module soltools
> =============
>
> Entering /cygdrive/c/aoo/main/soltools/winunistd
>
>
> Entering /cygdrive/c/aoo/main/soltools/mkdepend
>
> Compiling: soltools/mkdepend/cppsetup.c
> c:\aoo\main\soltools\mkdepend\def.h(42) : fatal error C1083: Cannot open
> include file: 'unistd.h': No such file or directory
> dmake:  Error code 2, while making '../wntmsci12.pro/obj/cppsetup.obj'
>
> 1 module(s):
>    soltools
> need(s) to be rebuilt
>
> Reason(s):
>
> ERROR: error 65280 occurred while making
> /cygdrive/c/aoo/main/soltools/mkdepend
>
> When you have fixed the errors in that module you can resume the build by
> running:
>
>    build --all:soltools
>
> I uploaded the complete output to this URL
> https://dl.dropboxusercontent.com/u/24062440/build_open_office.html
>
> How can I resolve it?
> Thanks and Regards
> Aron

Please look into directory main/soltools/winunistd. There should be the 
file unistd.h

Is the file there?


Kind regards
Regina



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message