Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (15) </ ... 9 10 11 12 13 [14] 15 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: easier way to compile stuff for DSL, chroot + debootstrap< Next Oldest | Next Newest >
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Oct. 27 2007,09:40 QUOTE

Doing this seemed to solve the problem (using the knoppix-3.4 .config):
Code Sample
$ cd /usr/src/linux-2.4.26
$ make mrproper
$ make include/linux/version.h
$ make symlinks
$ make menuconfig

This made /include/linux/autoconf.h in addition to all the other headers
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Oct. 27 2007,10:57 QUOTE

Hmm - compiling libfreetype6   "2.1.2-9" as per "dsl packages" gives libfreetype.so.6.3.1 whereas dsl-3.4.4 contains libfreetype.so.6.3.4, which (after some experimentation) equates to freetype-2.1.5

I guess some of the libs have been updated since the packages list was made?

Also, although libexpat is not mentioned in "dsl packages", dsl-3.4.4 contains libexpat.so.1.0.0 - expat-1.95.8 gives libexpat.so.0.5.0 and expat-2.0.1 gives libexpat.so.1.5.2

Does anybody know where libexpat in dsl came from?
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Oct. 27 2007,11:31 QUOTE

A hacked Debian one?

--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Oct. 27 2007,11:50 QUOTE

'should've thought of that - oldstable libexpat1 (1.95.8-3) contains libexpat.so.1.0.0...
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Oct. 27 2007,14:39 QUOTE

It looks like the /opt/compile extension is working reasonably well to compile applications, but I seem to have a problem in compiling the kernel:
Code Sample
$ make mrproper
$ make include/linux/version.h
$ make symlinks
$ make menuconfig
$ make dep
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep scripts/mkdep.c
scripts/mkdep.c: In function `add_path':
scripts/mkdep.c:221: error: `PATH_MAX' undeclared (first use in this function)
scripts/mkdep.c:221: error: (Each undeclared identifier is reported only once
scripts/mkdep.c:221: error: for each function it appears in.)
scripts/mkdep.c:221: warning: unused variable `resolved_path'
make: *** [scripts/mkdep] Error 1

../include/linux/limits.h has PATH_MAX set, but ../lib/gcc-lib/i486-pc-linux-gnu/3.3.5/include/limits.h does not. Is it possible gcc is using this file instead of /include/linux/limits.h?

The only other thing I can find about this is "some toolchains don't have PATH_MAX in <limits.h>, use an additional #include <sys/params.h>", whatever than means...
Back to top
Profile PM 
73 replies since June 18 2007,19:08 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (15) </ ... 9 10 11 12 13 [14] 15 >/
reply to topic new topic new poll
Quick Reply: easier way to compile stuff for DSL

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code