Damn Small Linux - Not!
The forum for DSL-N
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Make 855patch or 855wrap

 
Post new topic   Reply to topic    Damn Small Linux - Not! Forum Index -> Apps
View previous topic :: View next topic  
Author Message
Juanito



Joined: 11 Sep 2006
Posts: 88
Location: Dubai, U.A.E.

PostPosted: Sat Oct 07, 2006 8:09 am    Post subject: Make 855patch or 855wrap Reply with quote

I've been trying to make an executable for 855patch and 855wrap to properly assign video ram with the i810 driver and XFree86.

I've done "apt-get install kernel-package" and unzipped the linux-2.6.12 kernel sources into /usr/src but so far all I get is a bunch of errors - do I need the knoppix kernel patch and .config file for RC4?

Any help would be welcome - here's what I got so far:

root@dslbox:/usr/src# gunzip 855patch.tar.gz
root@dslbox:/usr/src# tar -xf 855patch.tar
root@dslbox:/usr/src# cd /usr/src/855patch
root@dslbox:/usr/src/855patch# make
cc -c -Wall -Ilrmi-0.8 -o 855patch.o 855patch.c
855patch.c:15:19: stdio.h: No such file or directory
855patch.c:16:20: stdlib.h: No such file or directory
855patch.c:17:20: sys/io.h: No such file or directory
855patch.c:18:20: unistd.h: No such file or directory
855patch.c:20:20: string.h: No such file or directory
855patch.c:21:22: sys/mman.h: No such file or directory
855patch.c:22:19: fcntl.h: No such file or directory
855patch.c: In function `main':
855patch.c:47: warning: implicit declaration of function `fprintf'
855patch.c:47: error: `stderr' undeclared (first use in this function)
855patch.c:47: error: (Each undeclared identifier is reported only once
855patch.c:47: error: for each function it appears in.)
855patch.c:51: warning: implicit declaration of function `atoi'
855patch.c:58: warning: implicit declaration of function `strcmp'
855patch.c:64: warning: implicit declaration of function `iopl'
855patch.c:70: warning: implicit declaration of function `outl'
855patch.c:71: warning: implicit declaration of function `inl'
855patch.c:75: warning: implicit declaration of function `printf'
855patch.c:78: warning: implicit declaration of function `open'
855patch.c:78: error: `O_RDWR' undeclared (first use in this function)
855patch.c:84: warning: implicit declaration of function `mmap'
855patch.c:84: error: `PROT_READ' undeclared (first use in this function)
855patch.c:84: error: `PROT_WRITE' undeclared (first use in this function)
855patch.c:84: error: `MAP_SHARED' undeclared (first use in this function)
855patch.c:84: error: `MAP_FIXED' undeclared (first use in this function)
855patch.c:84: warning: assignment makes pointer from integer without a cast
855patch.c:85: error: `NULL' undeclared (first use in this function)
855patch.c:87: warning: implicit declaration of function `close'
855patch.c:92: warning: implicit declaration of function `memmem'
855patch.c:92: warning: implicit declaration of function `strlen'
855patch.c:92: warning: assignment makes pointer from integer without a cast
855patch.c:95: warning: implicit declaration of function `munmap'
855patch.c:114: warning: implicit declaration of function `memset'
855patch.c:142: warning: implicit declaration of function `inw'
855patch.c:144: warning: implicit declaration of function `outw'
make: *** [855patch.o] Error 1
root@dslbox:/usr/src/855patch#
Back to top
View user's profile Send private message
Juanito



Joined: 11 Sep 2006
Posts: 88
Location: Dubai, U.A.E.

PostPosted: Sat Oct 07, 2006 12:32 pm    Post subject: Found It Reply with quote

Found it - after searching for "stdio.h" in Debian packages I found "ivtools-dev".

"apt-get install ivtools-dev" loaded 30+ packages with a bunch of errors but I could "make" 855patch and 855wrap. I can image this is not the recommended solution but...

It turns out I needed 855wrap to avoid the dreaded "green screen" with XFree86 and the Intel 855GM chipset.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Damn Small Linux - Not! Forum Index -> Apps All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group