Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 270682

Summary: app-admin/gkrellm-2.3.2: conflicting types for `getline' when compiled with glibc-2.10
Product: Gentoo Linux Reporter: Alex Turbov <I.zaufi>
Component: Current packagesAssignee: Jim Ramsay (lack) (RETIRED) <lack>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 270353    
Attachments: fix gkrellm's getline() function

Description Alex Turbov 2009-05-21 09:16:02 UTC
nowadays it is 'well known' compile error %)

Reproducible: Always

Steps to Reproduce:
1. make sure u have glibc 2.10
2. try to compile gkrellm
3.

Actual Results:  
client.c:1623: error: conflicting types for 'getline'
/usr/include/stdio.h:651: error: previous declaration of 'getline' was here
--


Expected Results:  
successufl merge expected
Comment 1 Alex Turbov 2009-05-21 09:17:15 UTC
Created attachment 192013 [details, diff]
fix gkrellm's getline() function
Comment 2 Jim Ramsay (lack) (RETIRED) gentoo-dev 2009-05-21 16:11:28 UTC
Thank you very much for the report and especially the patch!

I have committed this to the tree.