I'm trying to compile a 2.4.26 kernel but I have to apply two patches to it.
The patches are:
linux-2.4.26-xbox.patch
openMosix-2.4.26-1
This is the reason that it doesn't compile. There is only one error but I'm not familiar with C or C++(Unfortunately only Java and some lower-level languages). I realize this error could lead to more errors when fixed but I'd really need some help here and it might be worth a shot.
---I applied the xbox patch second---
here's my output:
Here's the code around those lines in the file /usr/src/linux-2.4.26/include/linux/fs.h:
I don't know if this is useful or not but fatx is a filesystem for xbox's. It makes sense that I would run into an error somewhere around here because fatx was definitely applied by the xbox patch and the CONFIG_MOSIX parts were definitely applied by the mosix patch.
Do the patches conflict? The cause of the error is likely that "struct fatx_inode_info" is not defined, or the file where it is defined is not pulled in correctly.
Last edited by era; 07-22-2008 at 03:23 AM..
Reason: Typo; inode, not node
Sounds like its defined somewhere, but one of the fields in that structure are not defined. Grep for the definition of fatx_inode_info to investigate farther.
I am getting a dereferencing pointer to incomplete type error when i compile the following code on lines highlighted in red. Can anyone help me in identifying what is wrong in the code?
#include<stdio.h>
#include<stdlib.h>
typedef struct{
int info;
struct node* link ;
} node;
void... (3 Replies)
Hi Gurues,
I need to modify an existing script that uses find to search a folder, and then move its contents to a folder. What I need to do is run gzip on each file after it's moved.
So, I ran this little test:
Put a ls.tar file on my $HOME, mkdir tmp, and then:
virtuo@tnpmprd01: find .... (3 Replies)
// Hello all,
I am having this error "Dereferencing pointer to incomplete type " on these 2 lines:
xpoint = my_point->x;
ypoint = my_point->y;
I am having no clue y this is happening.
Any help would be greately appreciated!!!!
#include<stdio.h>
#include<string.h>... (2 Replies)
I'm getting the following Error:
prepare_pcap.c: In function `prepare_pkts':
prepare_pcap.c:127: error: dereferencing pointer to incomplete type
prepare_pcap.c:138: error: dereferencing pointer to incomplete type
====================================
This is the part of the relevant... (8 Replies)
Hello there,
Here is how it goes - I have written a small test driver as an exercise to "Linux Device Drivers" and as a preparation for writing a real, functional driver.
For the sake of seeing how far I got it working (I already implemented the open(0, read(), write() and ioctl() calls) I... (4 Replies)
Dear colleagues,
One of my friend have a problem with c code. While compiling a c program it displays a message like
"array type has incomplete element type". Any body can provide a solution for it.
Jaganadh.G (1 Reply)