Hello,

Thanks for your help.
But I can't build with debug=1, even I had do that with a new clean sources.
I can use "build killobj ; build debug=1" in the source which has been
built once previously. But it still didn't work and get a message "no
debugging symbols found" when I ran AOO with gdb just like the question in
my previous mail.

Here is the build log with a new clean source:

  $ build debug=true
build -- version: 275224


=============
Building module instsetoo_native
=============

Entering /home/yohey/AOO/aoo-trunk/main/instsetoo_native/inc_openoffice/unix


Entering
/home/yohey/AOO/aoo-trunk/main/instsetoo_native/inc_openoffice/windows/msi_languages


Entering /home/yohey/AOO/aoo-trunk/main/instsetoo_native/util

dmake:  makefile.mk:  line 29:  Error: -- Include file
/home/yohey/AOO/aoo-trunk/main/solver/410/unxlngx6.pro/inc/rtlbootstrap.mk,
not found
ERROR: error 65280 occurred while making
/home/yohey/AOO/aoo-trunk/main/instsetoo_native/util


Whatever using "build debug=1" or "build killobj ; build debug=1", I got
same error.

It seems that we don't have "rtlbootstrap.mk". I have tried to look for
some information on the internet, but I failed. I can't fix this error.
Is that I miss something?

Thanks for you patient and help.

Regards,
   Yohey.




2013/8/20 Herbert Duerr <h...@apache.org>

> Apache OpenOffice uses both dmake and gnu-make build systems. We know
> that is a PITA and the project will clean this historical mess up in the
> future.
>
> Enabling debug symbols is done by using a "debug=1" parameter in the
> module of interest. For dmake modules you do
>    build killobj ; build debug=1
> in that module. For gnu-make modules you do
>    make clean ; make debug=1
> in that module.
>
> The first command in each line makes sure that the object files are
> removed so the source file gets recompiled.
>
> Herbert
>
> On 19.08.2013 13:52, Jie Zheng wrote:
> > when you build something with gcc with -g option, gdb will find debugging
> > symbols. So maybe soffice.bin has been optimized to some extent.
> >
> >
> > 2013/8/19 張仁瀚 <yohey03...@gmail.com>
> >
> >> Hello everyone,
> >>
> >> Recent days I have tried to run AOO with GDB dor debugging. But
> >> after I ran it(enter gdb ./soffice.bin), I got a message said no
> >> debugging symbols found. And then I typed "list", I got "No symbol
> >> table is loaded".
> >>
> >> Here is log:
> >>
> >> $ gdb ./soffice.bin
> >> GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
> >> Copyright (C) 2012 Free Software Foundation, Inc.
> >> License GPLv3+: GNU GPL version 3 or later <
> >> http://gnu.org/licenses/gpl.html
> >>>
> >> This is free software: you are free to change and redistribute it.
> >> There is NO WARRANTY, to the extent permitted by law.  Type "show
> copying"
> >> and "show warranty" for details.
> >> This GDB was configured as "x86_64-linux-gnu".
> >> For bug reporting instructions, please see:
> >> <http://bugs.launchpad.net/gdb-linaro/>...
> >> Reading symbols from /opt/openoffice4/program/soffice.bin...(no
> debugging
> >> symbols found)...done.
> >> (gdb) list
> >> No symbol table is loaded.  Use the "file" command.
> >>
> >>
> >> I have configured with --enable-symbols.
> >> Here is my configure:
> >>
> >> $ ./configure \
> >>       --with-dmake-url=
> >> http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2
> >> \
> >>       --with-epm-url=
> >> http://www.msweet.org/files/project2/epm-3.7-source.tar.gz
> >>                 \
> >>
> >>       --enable-symbols  \
> >>       --disable-odk \
> >>       --disable-binfilter
> >>
> >> It didn't show any error.
> >>
> >> And here is my build command:
> >>
> >> $ build debug=true dbg_build_only=true
> >>
> >> and I also tried
> >>
> >> build debug=true dbglevel=2
> >>
> >> or
> >>
> >> $ build debug=true dbg_build_only=true  dbglevel=2
> >>
> >>
> >> No error showed but
> >>
> >> after I installed it and ran with gdb, I got the same result : no
> >> debugging symbols founds.
> >>
> >> In fact, I am not very skillful in Linux system and AOO building system.
> >>
> >> Maybe I lost something important needed to be done.
> >>
> >> Thanks for your patience and help.
> >>
> >>
> >> Regards,
> >>
> >>     Yohey.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
>
>

Reply via email to