Bug 311 - util-linux-pre7 complains swapon has 1 args
Summary: util-linux-pre7 complains swapon has 1 args
Status: RESOLVED INVALID
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-03 15:42 UTC by Cassiano Martin
Modified: 2009-07-26 19:29 UTC (History)
0 users

See Also:
Host: Slackware Linux 12.1 - x86
Target: Generic x86 firewall
Build:


Attachments
Fix the wrong argument count for swapon (424 bytes, patch)
2009-05-03 15:42 UTC, Cassiano Martin
Details

Note You need to log in before you can comment on or make changes to this bug.
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