(
Jump to the original submission)
Sun 06 May 2012 06:53:54 AM UTC, comment #9:
Build success after installing autoconf, automake, m4.
Thanks.
P.S. This bug was only for factory version after migrating to gcc4.7,
not for stable openSUSE version.
|
Sat 05 May 2012 07:07:36 PM UTC, comment #8:
> Maybe the problem is missing unistd.h
No, it's just a failure to link against libgthread. It has nothing to do with changes in GCC.
|
Sat 05 May 2012 07:06:49 PM UTC, comment #7:
>Yes, but I use a patch
You patch configure.ac but didn't patch configure itself, and the log shows that the build's attempt to run autoconf failed:
>CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/abuild/rpmbuild/BUILD/pspp-0.7.9-g78616e/build-aux/missing --run autoconf
>/home/abuild/rpmbuild/BUILD/pspp-0.7.9-g78616e/build-aux/missing: line 52: autoconf: command not found
>WARNING: `autoconf' is missing on your system. You should only need it if
> you modified `configure.ac'. You might want to install the
> `Autoconf' and `GNU m4' packages. Grab them from any GNU
> archive site.
|
Sat 05 May 2012 06:53:31 PM UTC, comment #6:
> The commit number shows that you didn't update to the fixed version. (If you need a tarball, then you can use the one that will be generated tomorrow morning.)
Yes, but I use a patch, see
https://build.opensuse.org/package/files?package=PSPP&project=home%3Aembar-
|
Sat 05 May 2012 06:50:41 PM UTC, comment #5:
Maybe the problem is missing unistd.h
Change in GCC 4.7 compiler:
"Avoid polluting the global namespace and do not include <unistd.h>." in "Runtime Library (libstdc++)" section
See http://gcc.gnu.org/gcc-4.7/changes.html
|
Sat 05 May 2012 06:37:43 PM UTC, comment #4:
>Problem still exist:
The commit number shows that you didn't update to the fixed version. (If you need a tarball, then you can use the one that will be generated tomorrow morning.)
|
Sat 05 May 2012 06:28:11 PM UTC, comment #3:
Problem still exist:
src/ui/gui/src_ui_gui_psppire-main.o: In function `main':
main.c:(.text.startup+0x2b): undefined reference to `g_thread_init'
Iattach rawlog.txt
(file #25794)
|
Sat 05 May 2012 05:03:55 PM UTC, comment #2:
This should be fixed on master. Mindaugus, please reopen this bug if you still see trouble.
|
Sat 05 May 2012 04:34:24 AM UTC, comment #1:
I mailed a fix to pspp-dev for review.
|
Fri 04 May 2012 10:53:09 AM UTC, original submission:
Error while compiling with GCC 4.7 in openSUSE Build service for Factory:
undefined reference to `g_thread_init'
PSPP version: 0.7.9-ge0d88b
more details in attached file or in
https://build.opensuse.org/package/rawlog?arch=x86_64&package=PSPP&project=home%3Aembar-&repository=openSUSE_Factory
|
(Note: upload size limit is set to 16384 kB, after insertion of the required
escape characters.)
Attach File(s):
Comment:
Depends on the following items: None found
Items that depend on this one: None found
Follow 6 latest changes.