Skip to contentSkip to conversation

Unable to compile 2.5.4: "control reaches end of non-void functionm"

DISCUSSION Steve Kieu 5 participants 6 messages Feb 13, 2002 – Feb 14, 2002

lore
Share & tools
lore

Steve Kieu

author
#0 lore raw

Hi,

It seems nobody having this problem? No one replies at least why, so I just want to add one more case of compiling error. Exactly the same message as yours.

=====
S.KIEU

http://greetings.yahoo.com.au - Yahoo! Greetings
- Send your Valentines love online.

#1 lore raw

I have this same problem on both my laptop and my testbox. It happens everytime and I have yet to compile 2.5.4 successfully. Although, I suspect it's in my config file - I'm just using an old config file I used for my 2.4.17 kernel which works just fine.

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Steve Kieu
Sent: Tuesday, February 12, 2002 8:49 PM
To: kernel
Subject: Re: Unable to compile 2.5.4: "control reaches end of non-void functionm"

Hi,

It seems nobody having this problem? No one replies at least why, so I just want to add one more case of compiling error. Exactly the same message as yours.

=====
S.KIEU

http://greetings.yahoo.com.au - Yahoo! Greetings
- Send your Valentines love online.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

#2 lore raw

Steve,

I get the same/similar issue:

[root@athena linux-2.5.4]# make install scripts/split-include include/linux/autoconf.h include/config gcc -D__KERNEL__ -I/usr/src/linux-2.5.4/include -Wall -Wstrict-prototypes -Wno-t
rigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mprefe
rred-stack-boundary=2 -march=i586 -DKBUILD_BASENAME=main -c -o
init/main.o ini
t/main.c
In file included from /usr/src/linux-2.5.4/include/asm/thread_info.h:13,
from
/usr/src/linux-2.5.4/include/linux/thread_info.h:10,

                 from /usr/src/linux-2.5.4/include/linux/spinlock.h:7,
                 from /usr/src/linux-2.5.4/include/linux/mmzone.h:8,
                 from /usr/src/linux-2.5.4/include/linux/gfp.h:4,
                 from /usr/src/linux-2.5.4/include/linux/slab.h:14,
                 from /usr/src/linux-2.5.4/include/linux/proc_fs.h:5,
                 from init/main.c:15:

/usr/src/linux-2.5.4/include/asm/processor.h: In function `thread_saved_pc':
/usr/src/linux-2.5.4/include/asm/processor.h:444: dereferencing pointer to incom
plete type
/usr/src/linux-2.5.4/include/asm/processor.h:445: warning: control reaches end o
f non-void function
make: *** [init/main.o] Error 1
[root@athena linux-2.5.4]#

____________________
Daniel J Blueman

Quoted 28 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of J.S.S.
Sent: 13 February 2002 13:54
To: Steve Kieu
Cc: linux-kernel
Subject: RE: Unable to compile 2.5.4: "control reaches end of non-void functionm"

I have this same problem on both my laptop and my testbox. It happens everytime and I have yet to compile 2.5.4 successfully. Although, I suspect it's in my config file - I'm just using an old config file I used for my 2.4.17 kernel which works just fine.

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Steve Kieu
Sent: Tuesday, February 12, 2002 8:49 PM
To: kernel
Subject: Re: Unable to compile 2.5.4: "control reaches end of non-void functionm"

Hi,

Quoted 9 lines

It seems nobody having this problem? No one replies at least why, so I just want to add one more case of compiling error. Exactly the same message as yours.

=====
S.KIEU

http://greetings.yahoo.com.au - Yahoo! Greetings
- Send your Valentines love online.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

#3 lore raw
In reply to J.S.S.

If it is in processor.h, search the archives. There was a patch for this submitted to the list about a week ago.

--Drew Vogel

Quoted 34 lines · J.S.S.

I have this same problem on both my laptop and my testbox. It happens everytime and I have yet to compile 2.5.4 successfully. Although, I suspect it's in my config file - I'm just using an old config file I used for my 2.4.17 kernel which works just fine.

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Steve Kieu
Sent: Tuesday, February 12, 2002 8:49 PM
To: kernel
Subject: Re: Unable to compile 2.5.4: "control reaches end of non-void functionm"

Hi,

It seems nobody having this problem? No one replies at least why, so I just want to add one more case of compiling error. Exactly the same message as yours.

=====
S.KIEU

http://greetings.yahoo.com.au - Yahoo! Greetings
- Send your Valentines love online.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Quoted 6 lines

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

--Drew Vogel

#4 lore raw

USB device driver

Hi all

I need to develop a USB device driver for a custom made switch. I shall give a brief description.

The switch (which is connected to the USB port of a
Linux box running REdHat 7.1) has four RJ 45 connectors for ethernet cables and it needs to exchange data packets of size 8 bytes every .5 seconds. The Transmit ethernet port(1,2,3,4) and Receive ethernet port(1,2,3,4) need to be selected for each transfer and the data packet which is to be sent out and received on those ports changes accordingly.

Please let me know how I can start off writing the code for this driver.

Also please let me know if there are any SIMILAR device drivers already developed and available.

I am aware of the files usr/src/linux/drivers/usb/usb.*
but as I have no prior experience with device drivers, I am unable to start off.

Regards,
Sanjeev.

__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

#5 lore raw
In reply to Drew P. Vogel

Got it. Fixed it.
Still getting the video.o compile problem, but this hasn't been fixed yet (although it's been discussed a bit, the outcome wasn't too clear).

-----Original Message-----
From: Drew P. Vogel [mailto:[email protected]]
Sent: Wednesday, February 13, 2002 4:56 PM
To: J.S.S.
Cc: Steve Kieu; linux-kernel
Subject: RE: Unable to compile 2.5.4: "control reaches end of non-void functionm"

If it is in processor.h, search the archives. There was a patch for this submitted to the list about a week ago.

--Drew Vogel

Quoted 2 lines · J.S.S.

I have this same problem on both my laptop and my testbox. It happens everytime and I have yet to compile 2.5.4 successfully. Although, I

suspect

Quoted 32 lines

it's in my config file - I'm just using an old config file I used for my 2.4.17 kernel which works just fine.

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Steve Kieu
Sent: Tuesday, February 12, 2002 8:49 PM
To: kernel
Subject: Re: Unable to compile 2.5.4: "control reaches end of non-void functionm"

Hi,

It seems nobody having this problem? No one replies at least why, so I just want to add one more case of compiling error. Exactly the same message as yours.

=====
S.KIEU

http://greetings.yahoo.com.au - Yahoo! Greetings
- Send your Valentines love online.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Quoted 6 lines

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

--Drew Vogel