To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=74691
                 Issue #|74691
                 Summary|Incorrect SOLARLIB configured for simple gcc builds.
               Component|porting
                 Version|OOo 2.2
                Platform|All
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|mh
             Reported by|sparcmoz





------- Additional comments from [EMAIL PROTECTED] Tue Feb 20 09:28:03 +0000 
2007 -------
I build my own gcc4.3 using sources from gcc.gnu.org and ecj.jar and
--prefix=/usr/local/4.3

After configuring OOo the SOLARLIB paths have "jre" directories that do not
exist in the installed gcc.
MY_CONFIGURE_FLAGS="\
        --with-java=gij \
        --with-jdk-home=/usr/local/4.3 \
        --with-ant-home=/usr/local/apache-ant-1.7.0RC1 \
        --with-package-format=rpm \
        --with-alloc=system \
        --enable-crashdump=STATIC \
        --enable-symbols=SMALL \
        --with-stlport4=/home/jim/stlhome"


ccache /usr/local/4.3/bin/g++ -m32 -z combreloc -Wl,-z,defs -Wl,-rpath,'$ORIGIN'
-shared -L../../unxlngs.pro/lib -L../lib -L/home/jim/vanilla/solenv/unxlngs/lib
-L/home/jim/vanilla/solver/680/unxlngs.pro/lib
-L/home/jim/vanilla/solenv/unxlngs/lib -L/usr/local/4.3/lib
-L/usr/local/4.3/jre/lib/sparc -L/usr/local/4.3/jre/lib/sparc/client
-L/usr/local/4.3/jre/lib/sparc/native_threads -L/usr/lib
../../unxlngs.pro/slo/officebean_version.o -o
../../unxlngs.pro/lib/libofficebean.so
../../unxlngs.pro/slo/com_sun_star_comp_beans_LocalOfficeWindow.o
../../unxlngs.pro/slo/com_sun_star_beans_LocalOfficeWindow.o -ljawt -lstdc++
-ldl -lpthread -lm/usr/bin/ld: cannot find -ljawt
collect2: ld returned 1 exit status
dmake:  Error code 1, while making '../../unxlngs.pro/lib/libofficebean.so'
---* tg_merge.mk *---

ERROR: Error 65280 occurred while making /home/jim/vanilla/bean/native/unix

[EMAIL PROTECTED]:~/vanilla/bean$ find /usr/local/4.3 -name libjawt*
/usr/local/4.3/lib/gcj-4.3.0/libjawt.so
/usr/local/4.3/lib/gcj-4.3.0/libjawt.la

[EMAIL PROTECTED]:~/vanilla/bean$ ls /usr/local/4.3
bin  include  info  lib  libexec  man  share

If I add the path /usr/local/4.3/lib/gcj-4.3.0 on to SOLARLIB then the build
proceeds.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to