Hi Ankit,

Ankit Tekriwal schrieb:
Still no luck :(

That's sad to hear. Please don't surrender.

I have found two threads, so you are not the only one, who get problems with module Bean and Java.

http://comments.gmane.org/gmane.comp.apache.incubator.ooo.devel/20812
and
http://mail-archives.apache.org/mod_mbox/openoffice-dev/201401.mbox/browser part 4; thread "Greg Bullock Building module bean: jawt.lib apparently not found Tue, 21 Jan, 23:08"

Unfortunately they do not contain a solution, but the tip by Herbert to make a clean build seems to be the best for now. To make a clean build you have to remove all wntmsci12.pro folders.


Some time ago I had a problem to build HSQLDB with jdk1.7.0 and therefore I still use jdk1.6.0_38. But that might work in the meantime.

Sometimes building with -P4 does not work for me. There seems to be a timing problem. In those cases repeating the same build solves the problem.

I do not use --enable-pch , but that might be irrelevant here.

Kind regards
Regina



On Wed, Sep 24, 2014 at 12:57 PM, Regina Henschel <rb.hensc...@t-online.de>
wrote:

Hi Ankit,

please try to build with configure switch
--enable-category-b

If I understand the help of configure correctly, then beanshell belongs to
a category-B license.
[You get a list of the configure switches by ./configure --help]

I would appreciate it, if someone with more building experience helps
here. I can give you only a guess.


Kind regards
Regina


Ankit Tekriwal schrieb:

I have jdk 1.7 update 60. And yes I have used --with-jdk-home in configure
script. Configure executed successfully with no errors.

Thanks,
Ankit
On Sep 24, 2014 1:39 AM, "Regina Henschel" <rb.hensc...@t-online.de>
wrote:

  Hi Ankit,

Which JDK do you have installed?

Do you have --with-jdk-home= in your configure script?

Do you have a log of the configure output? Are there any errors/warnings
about Java or jdk?

Kind regards
Regina

Ankit Tekriwal schrieb:

  =============
Building module bean
=============

Entering /cygdrive/c/source/aoo-trunk/main/bean/native/win32

Making:    officebean.dll
Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385
Copyright (C) Microsoft Corporation.  All rights reserved.

Microsoft (R) Incremental Linker Version 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.

/MAP /OPT:NOREF -safeseh -nxcompat -dynamicbase -NODEFAULTLIB -RELEASE
-DEBUG -INCREMENTAL:NO /SUBSYSTEM:CONSOLE /DLL -out:../../
wntmsci12.pro/bin/officebean.dll -map:../../
wntmsci12.pro/misc/officebean.map -def:../../
wntmsci12.pro/misc/officebean.def -implib:../../
wntmsci12.pro/lib/iofficebean_t1.lib ../../
wntmsci12.pro/slo/officebean_version.obj ../../
wntmsci12.pro/slb/officebean.lib jawt.lib isal.lib msvcrt.lib
msvcprt.lib
uwinapi.lib kernel32.lib user32.lib oldnames.lib ../../
wntmsci12.pro/misc/officebean.res
      Creating library ../../wntmsci12.pro/lib/iofficebean_t1.lib and
object
../../wntmsci12.pro/lib/iofficebean_t1.exp
officebean.lib(com_sun_star_comp_beans_LocalOfficeWindow.obj) : error
LNK2019: unresolved external symbol __imp__JAWT_GetAWT@8 referenced in
function _Java_com_sun_star_comp_beans_LocalOfficeWindow_
getNativeWindow@8
../../wntmsci12.pro/bin/officebean.dll : fatal error LNK1120: 1
unresolved
externals
dmake:  Error code 96, while making '../../wntmsci12.pro/bin/
officebean.dll'

1 module(s):
           bean
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making
/cygdrive/c/source/aoo-trunk/main/bean/native/win32

When you have fixed the errors in that module you can resume the build
by
running:

           build --all:bean
===============

Sorry for plenty of mails but I really need to get this working soon. Do
anyone have any idea about this error?

Thanks,
Ankit



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to