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

recursive checkout does not work #14

Open
g3ntleman opened this issue Jul 20, 2019 · 4 comments
Open

recursive checkout does not work #14

g3ntleman opened this issue Jul 20, 2019 · 4 comments

Comments

@g3ntleman
Copy link

I tried to install esp-lisp on macOS and failed (with the build-in git) to checkout the project including sub-projects.

It fails with

> git clone http://github.com/yesco/esp-lisp.git --recursive
Klone nach 'esp-lisp' ...
warning: Leite nach https://github.com/yesco/esp-lisp.git/ um
remote: Enumerating objects: 990, done.
remote: Total 990 (delta 0), reused 0 (delta 0), pack-reused 990
Empfange Objekte: 100% (990/990), 508.74 KiB | 1.27 MiB/s, Fertig.
Löse Unterschiede auf: 100% (671/671), Fertig.
Submodul 'imacs' (https://github.com/yesco/imacs.git) für Pfad 'imacs' in die Konfiguration eingetragen.
Klone nach '/Users/theisen/Projects/esp-lisp/imacs' ...
remote: Enumerating objects: 103, done.        
remote: Total 103 (delta 0), reused 0 (delta 0), pack-reused 103        
Empfange Objekte: 100% (103/103), 27.73 KiB | 6.93 MiB/s, Fertig.
Löse Unterschiede auf: 100% (62/62), Fertig.
error: Der Server lehnt Anfrage nach nicht angebotenem Objekt e19b60c24a3d44515519b06392af2c7f85a97873 ab.
Fetched in submodule path 'imacs', but it did not contain e19b60c24a3d44515519b06392af2c7f85a97873. Direct fetching of that commit failed.

Looks like there is a misconfiguration in this git repo.

@yesco
Copy link
Owner

yesco commented Jul 20, 2019 via email

@planmac
Copy link

planmac commented Apr 25, 2021

Hi, this is still a problem - any chance you could take a look please? I am very interested to try out this lisp on my esp8266 and esp32 devices.
Thanks, Peter

~/esp$ git clone https://github.com/yesco/esp-lisp.git --recursive
Cloning into 'esp-lisp'...
remote: Enumerating objects: 990, done.
remote: Total 990 (delta 0), reused 0 (delta 0), pack-reused 990
Receiving objects: 100% (990/990), 508.74 KiB | 1.21 MiB/s, done.
Resolving deltas: 100% (671/671), done.
Submodule 'imacs' (https://github.com/yesco/imacs.git) registered for path 'imacs'
Cloning into '/home/petermacdonald/esp/esp-lisp/imacs'...
remote: Enumerating objects: 103, done.        
remote: Total 103 (delta 0), reused 0 (delta 0), pack-reused 103        
Receiving objects: 100% (103/103), 27.73 KiB | 887.00 KiB/s, done.
Resolving deltas: 100% (62/62), done.
fatal: remote error: upload-pack: not our ref e19b60c24a3d44515519b06392af2c7f85a97873
fatal: the remote end hung up unexpectedly
Fetched in submodule path 'imacs', but it did not contain e19b60c24a3d44515519b06392af2c7f85a97873. Direct fetching of that commit failed.

and..

~/esp/esp-lisp$ ./run
--- Lines of code (according to norvig) ---
   2676   10957   82567

--- compiling ---
rm: cannot remove 'a.out': No such file or directory
rm: cannot remove 'opt': No such file or directory
rm: cannot remove 'esp-lisp': No such file or directory
common.c:394:10: fatal error: imacs/imacs.c: No such file or directory
  394 | #include "imacs/imacs.c"
      |          ^~~~~~~~~~~~~~~
compilation terminated.
...

@yesco
Copy link
Owner

yesco commented Apr 25, 2021 via email

@planmac
Copy link

planmac commented Apr 26, 2021

OK, I added

#undef IMACS 

to the top of common.c

Next problem was:

/esp-lisp/tlisp.c:194: undefined reference to `clear' 

"Hacked" this by commenting out line 194 in tlisp.ccc:

//  clear();

and now it compiles and runs on Linux, will try on the esp8266 in next couple of days.

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

3 participants