Skip to contentSkip to conversation

New: util-linux-pre7 complains swapon has 1 args

Buildroot bugzilla at busybox.net 1 participant 3 messages May 3, 2009 – May 4, 2009

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=311

Host: Slackware Linux 12.1 - x86
Target: Generic x86 firewall
Summary: util-linux-pre7 complains swapon has 1 args
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: cassiano at polaco.pro.br
CC: buildroot at uclibc.org
Estimated Hours: 0.0

Created an attachment (id=289)
--> (https://bugs.busybox.net/attachment.cgi?id=289)
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.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 311] util-linux-pre7 complains swapon has 1 args

https://bugs.busybox.net/show_bug.cgi?id=311

Peter Korsgaard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED

--- Comment #1 from Peter Korsgaard <[email protected]> 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?

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 311] util-linux-pre7 complains swapon has 1 args

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=311

Cassiano Martin <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC|buildroot at uclibc.org |

--- Comment #2 from Cassiano Martin <[email protected]> 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

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.