Summary: | net-p2p/dctc interactive configure with gcc 4.1.0 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Patrick Lauer <patrick> |
Component: | [OLD] GCC Porting | Assignee: | Gentoo net-p2p team <net-p2p> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | rhill |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 117482 | ||
Attachments: |
dctc-0.85.9-gcc41.patch
dctc-0.85.9.ebuild.diff |
Description
Patrick Lauer
![]() it also doesn't compile. if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DWITH_GCRYPT -DWITH_GLIB2 -Dg_string_sprintf=g_string_printf -Dg_string_sprintfa=g_string_append_printf -DBDB_V4 -DHAVE_ZLIB -DHAVE_BZIP2 -DHAVE_XML2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=prescott -fomit-frame-pointer -pipe -fno-ident -MT typical_action.o -MD -MP -MF ".deps/typical_action.Tpo" \ -c -o typical_action.o `test -f 'typical_action.c' || echo './'`typical_action.c; \ then mv -f ".deps/typical_action.Tpo" ".deps/typical_action.Po"; \ else rm -f ".deps/typical_action.Tpo"; exit 1; \ fi user_manage.c:47: error: static declaration of 'hub_user_xtra_info' follows non-static declaration user_manage.h:30: error: previous declaration of 'hub_user_xtra_info' was here user_manage.c:50: error: static declaration of 'hub_user_uinfo' follows non-static declaration user_manage.h:34: error: previous declaration of 'hub_user_uinfo' was here make[2]: *** [user_manage.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/dctc-0.85.9/work/dctc-0.85.9/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dctc-0.85.9/work/dctc-0.85.9' make: *** [all] Error 2 !!! ERROR: net-p2p/dctc-0.85.9 failed. i have a fix for the compile error. i'll post a patch when i figure out how to disable the gcc version check. Created attachment 82488 [details, diff]
dctc-0.85.9-gcc41.patch
adds 4.* to the configure check and fixes the compile errors under gcc 4.1.*
Created attachment 82489 [details, diff] dctc-0.85.9.ebuild.diff moves the patching up before the sed and calls eautoreconf to regenerate autotools files. it has to be done in this order to avoid bug #26708. Fixed, thanks. |