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

compiling error #53

Open
0wwafa opened this issue Jan 23, 2025 · 1 comment
Open

compiling error #53

0wwafa opened this issue Jan 23, 2025 · 1 comment

Comments

@0wwafa
Copy link

0wwafa commented Jan 23, 2025

../third_party/fx2lib/include/serial.h:54: error 91: extern definition for 'putchar' mismatches with declaration.
/usr/bin/../share/sdcc/include/stdio.h:86: error 177: previously defined here
../third_party/fx2lib/include/serial.h:55: error 91: extern definition for 'getchar' mismatches with declaration.
/usr/bin/../share/sdcc/include/stdio.h:85: error 177: previously defined here
make[1]: *** [Makefile:78: to-uart.rel] Error 1
make[1]: Leaving directory '/home/zibri/HDMI2USB-fx2-firmware/hdmi2usb'
make: *** [Makefile:81: hdmi2usb/hdmi2usb.hex] Error 2

@0wwafa
Copy link
Author

0wwafa commented Jan 23, 2025

I also tried with board=atlys and I got:

Downloading and Extracting Packages:
                                                                                                                         
Preparing transaction: done                                                                                              
Verifying transaction: done                                                                                              
Executing transaction: done                                                                                              

 Install HDMI2USB-mode-switch
-----------------------------
Collecting git+https://github.com/timvideos/HDMI2USB-mode-switch.git
  Cloning https://github.com/timvideos/HDMI2USB-mode-switch.git to /tmp/pip-req-build-hfbsqhjl
  Running command git clone --filter=blob:none --quiet https://github.com/timvideos/HDMI2USB-mode-switch.git /tmp/pip-req-build-hfbsqhjl
  Resolved https://github.com/timvideos/HDMI2USB-mode-switch.git to commit b536d1fdf342c701945e66948fbdb100e3d0f106
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [16 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-req-build-hfbsqhjl/setup.py", line 17, in <module>
          version=versioneer.get_version(),
                  ^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-req-build-hfbsqhjl/versioneer.py", line 1480, in get_version
          return get_versions()["version"]
                 ^^^^^^^^^^^^^^
        File "/tmp/pip-req-build-hfbsqhjl/versioneer.py", line 1412, in get_versions
          cfg = get_config_from_root(root)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-req-build-hfbsqhjl/versioneer.py", line 342, in get_config_from_root
          parser = configparser.SafeConfigParser()
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
make: *** [Makefile:47: conda] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant