https://issues.apache.org/ooo/show_bug.cgi?id=124712

          Issue ID: 124712
        Issue Type: DEFECT
           Summary: Build broken on Linux Ubuntu 14.04 (undefined
                    reference to __cxa_atexit)
           Product: General
           Version: 4.1.0-dev
          Hardware: All
                OS: All
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: code
          Assignee: [email protected]
          Reporter: [email protected]

As discussed on the dev list, the build is broken on Ubuntu 14.04. This might
well be an environment problem since a quick Internet search returns many hits.

Still, with the default Ubuntu tools, installed exactly as in
https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step
I get:

undefined reference to `__cxa_atexit'

Here's the context:

=============
Building module svl
=============
...
[ build DEP ] SRS:svl/res
[ build DEP ] LNK:Library/fsstorage.uno.so
[ build DEP ] LNK:Library/passwordcontainer.uno.so
[ info  ALL ] LinkTarget Library/libi18nutilgcc3.so not defined: Assuming
headers to be there!
[ info  ALL ] LinkTarget Library/libjvmfwk.so not defined: Assuming headers to
be there!
[ build PKG ] svl_inc
[ build DEP ] LNK:Library/libsvl.so
[ build DEP ] SRS:svl/res
[ build SRS ] svl/res
[ build RES ] svlen-US
[ build CXX ] svl/source/fsstor/fsfactory
[ build CXX ] svl/source/fsstor/fsstorage
[ build CXX ] svl/source/fsstor/oinputstreamcontainer
[ build CXX ] svl/source/fsstor/ostreamcontainer
[ build LNK ] Library/fsstorage.uno.so
/usr/lib/x86_64-linux-gnu/libc_nonshared.a(atexit.oS): In function `atexit':
(.text+0x12): undefined reference to `__cxa_atexit'
collect2: error: ld returned 1 exit status
make: ***
[/.../main/solver/410/unxlngx6.pro/workdir/LinkTarget/Library/fsstorage.uno.so]
Error 1
dmake:  Error code 2, while making 'all'

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

Reason(s):

ERROR: error 65280 occurred while making .../main/svl/prj

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

    build --all:svl

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

Reply via email to