Summary: | lxde-base/lxpanel fails to build (new dev-libs/glib?) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | LXDE team (DEFUNCT) <lxde+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Build log
Renaming alarm structure |
Description
Diego Elio Pettenò (RETIRED)
2010-09-28 13:07:00 UTC
Created attachment 248901 [details]
Build log
(In reply to comment #1) > Created an attachment (id=248901) [details] > Build log > Can't reproduce this with neither glibc-2.12.1-r1 nor gcc 4.5.1 > batt.c:98:3: error: 'alarm' redeclared as different kind of symbol Perhaps some library in your system provides "alarm" ? man 2 alarm SYNOPSIS #include <unistd.h> unsigned int alarm(unsigned int seconds); So something started including unistd.h, probably the new glib. OTOH it's still a problem with the "alarm" structure colliding… Created attachment 250371 [details, diff]
Renaming alarm structure
Indeed it is a collision with the alarm structure, so this patch fixes the build.
Thanks to Ángel Velásquez for providing the patch
Fixed without revbump in lxpanel-0.5.6 |