Skip to content
This repository was archived by the owner on Apr 16, 2023. It is now read-only.

Fix broken URLs in Makefile.devel - #4

Open
a-kr wants to merge 1 commit into
maxonthegit:masterfrom
a-kr:master
Open

Fix broken URLs in Makefile.devel#4
a-kr wants to merge 1 commit into
maxonthegit:masterfrom
a-kr:master

Conversation

@a-kr

@a-kr a-kr commented Dec 9, 2012

Copy link
Copy Markdown

Currently Makefile.devel pulls kernel source and packages from unexisting links:

netkit$ git clone https://github.com/maxonthegit/netkit-uml-kernel.git
Cloning into netkit-uml-kernel...
remote: Counting objects: 15, done.
remote: Compressing objects: 100% (13/13), done.
remote: Total 15 (delta 1), reused 15 (delta 1)
Unpacking objects: 100% (15/15), done.
netkit$ ls
netkit-uml-kernel
netkit$ cd netkit-uml-kernel/
netkit-uml-kernel$ make -f Makefile.devel kernel
echo -e "\n\e[1m\e[33m====== Retrieving kernel tarball... ======\e[0m"
-e 
\e[1m\e[33m====== Retrieving kernel tarball... ======\e[0m
wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.26.5.tar.bz2
--2012-12-09 15:13:39--  http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.26.5.tar.bz2
Resolving www.kernel.org... 149.20.4.69, 149.20.20.133
Connecting to www.kernel.org|149.20.4.69|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2012-12-09 15:13:39 ERROR 404: Not Found.

make: *** [linux-2.6.26.5.tar.bz2] Error 8

And, when that is fixed...

netkit-uml-kernel$ make -f Makefile.devel kernel
<snip>
scripts/kconfig/conf -s arch/um/Kconfig
make[1]: Leaving directory `/tmp/mynetkit/netkit-uml-kernel/build/linux-2.6.26'
wget http://ftp.it.debian.org/debian//pool/main/libp/libpcap/libpcap0.8-dev_0.9.8-5_i386.deb
--2012-12-09 15:19:40--  http://ftp.it.debian.org/debian//pool/main/libp/libpcap/libpcap0.8-dev_0.9.8-5_i386.deb
Resolving ftp.it.debian.org... 213.92.8.5, 2001:1418:13:1::5
Connecting to ftp.it.debian.org|213.92.8.5|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2012-12-09 15:19:40 ERROR 404: Not Found.

make: *** [libpcap0.8-dev_0.9.8-5_i386.deb] Error 8
netkit-uml-kernel$ 

Attached commit fixes this issue.

After fixes were applied, I was able to build working kernel on 32-bit Debian 6.0.6 with GCC 4.4.5.

@maxonthegit

Copy link
Copy Markdown
Owner

Thank you very much.

Indeed, besides this kind of update, lots of steps in the build process require updating. For example, the current MPLS support is based on an implementation whose development, as far as I can see, has stalled. We would therefore like to consider this alternative implementation: https://github.com/i-maravic/MPLS-Linux.

Your fix, as well as others, are hopefully due to appear in future releases.

Thank you again.

@kartoch

kartoch commented Apr 17, 2013

Copy link
Copy Markdown

Trying to use it:

======= Configuring the kernel... ========
make[1]: Entering directory `/home/kartoch/works/netkit/dev/netkit-uml-kernel/build/linux-2.6.26'
Makefile:434: *** mixed implicit and normal rules.  Stop.
make[1]: Leaving directory `/home/kartoch/works/netkit/dev/netkit-uml-kernel/build/linux-2.6.26'
make: *** [build/linux-2.6.26/.config] Error 2

Maybe some troubles coming from the patches applied by netkit.

@kartoch

kartoch commented Apr 17, 2013

Copy link
Copy Markdown

Not working on archlinux but I succeed to compile it using debian 6.0

@kartoch

kartoch commented Apr 17, 2013

Copy link
Copy Markdown

I've merged your patch with a better build system here:

kartoch@9ab86492afc8d88b1f2ba4b788b5b61013dd347b

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants