Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dosfstools: FAT filesystem tools #6335

Closed
SergioFLS opened this issue Jan 30, 2021 · 5 comments
Closed

dosfstools: FAT filesystem tools #6335

SergioFLS opened this issue Jan 30, 2021 · 5 comments
Labels
package request A new package was requested

Comments

@SergioFLS
Copy link

Package description

The package contains tools that can create (mkfs.fat), check (fsck.fat) and label (fatlabel) FAT filesystems.

There are packages that can create other filesystems (such as util-linux), but none for FAT.

Link to home page and sources

  1. Home page: https://github.com/dosfstools
  2. Source code: https://github.com/dosfstools/dosfstools

Additional information
Have you compiled or tried to compile the package on device?

  • If it did not work then please provide the error you ran into.
  • If it did work then please share build steps and any patches that you had to apply.

$ ./configure
configure

$ make (not full output! couldn't fit it in one semi-readable screenshot)
make

@SergioFLS
Copy link
Author

Hello,

is libiconv installed ?

Yes, iconv and libiconv are installed.
Even with these packages installed, the compilation progress still fails, though.
iconv version

@thibaultmeyer
Copy link
Contributor

thibaultmeyer commented Jan 30, 2021

the problem seems to be known: dosfstools/dosfstools#50

i passed the libiconv.a externally when configuring and after the errors are gone .
and whare can i get libudev for mkfs.fat

@thibaultmeyer
Copy link
Contributor

thibaultmeyer commented Jan 30, 2021

I have successfully compiled by adding the following lines to the file dosfstools-4.1/src/charconv.c

 #include <locale.h>
 #include <stdio.h>

+#define libiconv_open iconv_open
+#define libiconv_close iconv_close
+#define libiconv iconv
+
 static iconv_t iconv_init_codepage(int codepage)
 {
     iconv_t result;

@SergioFLS
Copy link
Author

the problem seems to be known: dosfstools/dosfstools#50

i passed the libiconv.a externally when configuring and after the errors are gone .
and whare can i get libudev for mkfs.fat

using LIBS=/data/data/com.termux/files/usr/lib/libiconv.a ./configure seems to compile successfully too

@ghost ghost added the package request A new package was requested label Jan 31, 2021
ghost pushed a commit that referenced this issue Feb 3, 2021
@ghost
Copy link

ghost commented Feb 4, 2021

Package is now available.

You can obtain it with these commands:

pkg install dosfstools

@ghost ghost closed this as completed Feb 4, 2021
@ghost ghost locked and limited conversation to collaborators Oct 9, 2021
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
package request A new package was requested
Projects
None yet
Development

No branches or pull requests

2 participants