[Bug 1206] New: weather plugin build error on solaris 10 x86
| Newsgroups | gmane.comp.desktop.xfce.goodies.devel |
|---|---|
| Message-ID | <[email protected]> |
Do NOT reply to this email. To make further comments on this bug, use
the URL below:
http://bugzilla.xfce.org/show_bug.cgi?id=1206
Summary: weather plugin build error on solaris 10 x86
Product: Xfce Panel Plugins
Version: unspecified
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: Medium
Component: weather
AssignedTo: [email protected]
ReportedBy: [email protected]
xfce4 version 4.2.2. When building on solaris 10 x86 from pkgsrc I
receive compiler errors in function create_summary_tab and the build exits.
Reproducible: Always
Steps to Reproduce:
1. cd pkgsrc/misc/xfce4-weather-plugin
2. bmake install
3. after fixing the mixer plugin build as described in another forum,
everything will build for xfce, except the weather plugin
Actual Results:
summary_window.c: In function `create_summary_tab':
summary_window.c:25: error: syntax error before numeric constant
summary_window.c:112: error: invalid lvalue in assignment
summary_window.c:114: warning: pointer/integer type mismatch in conditional
expression
summary_window.c:116: warning: passing arg 1 of `g_free' makes pointer from
integer without a cast
summary_window.c:120: error: invalid lvalue in assignment
summary_window.c:122: warning: pointer/integer type mismatch in conditional
expression
summary_window.c:124: warning: passing arg 1 of `g_free' makes pointer from
integer without a cast
summary_window.c:130: error: `vis' undeclared (first use in this function)
summary_window.c:130: error: (Each undeclared identifier is reported only once
summary_window.c:130: error: for each function it appears in.)
gmake: *** [libweather_la-summary_window.lo] Error 1
Expected Results:
The plugin should have been built and installed
Here is the link to the xfce forum post, where others are having similar
issues with building on solaris/solaris (sparc). There is a listed
fix that works for the mixer plugin and allows compilation to continue until
you get to the weather plugin, for which, I've found no fix.
http://www.os-cillation.de/cgi-bin/yabb/YaBB.cgi?board=Help;action=display;num=1109782807
You can see that I receive the same error in the weather plugin as another user
two xfce versions ago and several lines have been added to summary_window.c
since then.
# gcc -v
Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs
Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure
--prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++
--enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
--
GNU Make 3.80
--
--
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.