| Summary: | util-linux-pre7 complains swapon has 1 args | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Cassiano Martin <cassiano> |
| Component: | Other | Assignee: | 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 | ||
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? 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 No feedback in ~3 months, closing |
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.