Git Product home page Git Product logo

Comments (8)

Ben-401 avatar Ben-401 commented on June 2, 2024

using the m65pcb-ports branch, and at toplevel, "make", getting to the stage where:

  • kickup is compiled,
  • on_screen_keyboard_gen etc is compiled,
  • BANNER-M65 is compiled/generated,

then when an attempt to compile the "mega65-fdisk" PRG, it fails because the source-files are not in the directory.

Unsure where to get these.
The tail of the make-log is below.

src/tools/pngprepare/pngprepare logo bin/mega65_320x64_128colour.png sdcard-files/BANNER.M65
argv[0]=src/tools/pngprepare/pngprepare
argv[1]=logo
argv[2]=bin/mega65_320x64_128colour.png
argv[3]=sdcard-files/BANNER.M65
Reading bin/mega65_320x64_128colour.png
Input-file is: width=320, height=64.
Input-file is read and now closed
Processing with mode=0 and output=sdcard-files/BANNER.M65
mode=0 (logo)
Writing out palette of 87 values
done
src/tools/mempacker/mempacker -n shadowram -s 131071 -f src/vhdl/shadowram.vhdl sdcard-files/BANNER.M65@3D00
131071 bytes written
gcc -Wall -g -std=c99 -o src/tools/utilpacker/utilpacker src/tools/utilpacker/utilpacker.c
../Ophis/bin/ophis -4 src/border.a65 -l bin/border.list -m bin/border.map -o bin/border.prg
Assembly complete: 92 bytes output (12 code, 71 data, 9 filler)
( cd src/mega65-fdisk ; make )
make[1]: Entering directory '/home/gerb0002/dev/github/mega65/mega65-core-pauls/src/mega65-fdisk'
make[1]: *** No targets specified and no makefile found.  Stop.
make[1]: Leaving directory '/home/gerb0002/dev/github/mega65/mega65-core-pauls/src/mega65-fdisk'
Makefile:237: recipe for target 'src/mega65-fdisk/m65fdisk.prg' failed
make: *** [src/mega65-fdisk/m65fdisk.prg] Error 2

from mega65-core.

gardners avatar gardners commented on June 2, 2024

from mega65-core.

Ben-401 avatar Ben-401 commented on June 2, 2024
$ **git submodule init**
Submodule 'src/mega65-fdisk' ([email protected]:MEGA65/mega65-fdisk.git) registered for path 'src/mega65-fdisk'
$ **git submodule update**
Cloning into 'src/mega65-fdisk'...
The authenticity of host 'github.com (192.30.255.112)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,192.30.255.112' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:MEGA65/mega65-fdisk.git' into submodule path 'src/mega65-fdisk' failed

i then added git config user.name and user.email, and tried again

$ **git submodule update**
Cloning into 'src/mega65-fdisk'...
Warning: Permanently added the RSA host key for IP address '192.30.255.113' to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:MEGA65/mega65-fdisk.git' into submodule path 'src/mega65-fdisk' failed

Any ideas?

from mega65-core.

gardners avatar gardners commented on June 2, 2024

from mega65-core.

Ben-401 avatar Ben-401 commented on June 2, 2024

I could not get it to update the submodule.
So I manually cloned into the ./src dir, ie

cd src
git clone https://github.com/MEGA65/mega65-fdisk.git
cd ..

and the above worked fine.

below is what i tried when modifying the gitmodules file:

$ cat .gitmodules 
[submodule "src/mega65-fdisk"]
	path = src/mega65-fdisk
	url = https://github.com/MEGA65/mega65-fdisk.git
$ git submodule update
<error as in above post>

I do not know how to fix this, but have provided a work-around.

from mega65-core.

gardners avatar gardners commented on June 2, 2024

from mega65-core.

Ben-401 avatar Ben-401 commented on June 2, 2024

i have found that you need to "git submodule init" after any change to the .gitmodules file.

further, a clean checkout of the mega65-core repo was necessary to allow the modified ".gitmodules" file to work with "git submodule init" && "git submodule update".

refer to "builder" branch based on px100mhz, dated 6-FEB-2018.

from mega65-core.

gardners avatar gardners commented on June 2, 2024

Assuming fixed by pull request #48.

from mega65-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.