Summary: | mserver 0.5.5 fails (gcc4) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Patrizio Bassi <patrizio.bassi> |
Component: | [OLD] GCC Porting | Assignee: | Gentoo Dialup Developers <net-dialup> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2005.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 117482 | ||
Attachments: | gcc4 patch |
Description
Patrizio Bassi
2006-02-07 09:08:45 UTC
can you find the proper mserver-0.5.5-gcc4.patch? removing cast operators from line 77 of the authgen.c file should fix the error. in addition, you should include string.h file as well. sorry where the patch is? I'm asking you to make a patch that fixes compilation problems on gcc-4. i'm not the mainteiner and howerver the problem is not that only... In file included from mserver.c:34: mserver.h:154: error: array type has incomplete element type mserver.h:154: error: array type has incomplete element type mserver.c: In function ‘main’: mserver.c:134: error: type of formal parameter 2 is incomplete mserver.c:134: error: type of formal parameter 3 is incomplete mserver.c:227: warning: pointer targets in passing argument 3 of ‘accept’ differ in signedness make: *** [mserver.o] Error 1 i'll take a look but you should ask upstream and the mainteneir before asking a simple user :) 1) upstream is dead 2) I don't have gcc-4 installed on my system so it is harder for me than for you to test the solution for this bug. 3) usually gentooers help us. besides, I'm only asking, I don't point a gun to your head. if you don't want/know how to help, just don't do it. 1. bad.. bad.. 2. no problem 3. i use to contrib, but i was really busy. sorry if it seemed to you i was bad mood, wasn't like that :) however...here is the gcc4 patch. enjoy :))) Created attachment 79211 [details, diff]
gcc4 patch
gcc4 patch
fixed in mserver-0.5.5-r2. thanks! |