Bug 311

Summary: util-linux-pre7 complains swapon has 1 args
Product: buildroot Reporter: Cassiano Martin <cassiano>
Component: OtherAssignee: unassigned
Status: RESOLVED INVALID    
Severity: normal    
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Slackware Linux 12.1 - x86 Target: Generic x86 firewall
Build:
Attachments: Fix the wrong argument count for swapon

Description Cassiano Martin 2009-05-03 15:42:37 UTC
Created attachment 289 [details]
Fix the wrong argument count for swapon

I had to patch util-linux in order to compile, on the last SVN version of
buildroot (v2009.05-svn)

when compiling, it reports that libc has only 1 arg to swapon function, but 
in fact it requires 2.

I Included a patch to fix that.

thanks.
Comment 1 Peter Korsgaard 2009-05-03 20:20:53 UTC
Sorry, but that patch seems bogus. Doesn't your compiler complain about the 'define' line? I gather we should figure out why mount/swap.configure misdetects the SWAPON_HAS_TWO_ARGS instead. Does config.log contain anything interesting?
Comment 2 Cassiano Martin 2009-05-04 00:38:38 UTC
Thanks for replying, and forget about the patch, Its broken.

I'll try to reproduce the problem again, as I had to manually edit the source to
build my project.

[]'s
Comment 3 Peter Korsgaard 2009-07-26 19:29:18 UTC
No feedback in ~3 months, closing