devx_301.sfs Bug

Please post any bugs you have found
Post Reply
Message
Author
User avatar
mohan34u
Posts: 67
Joined: Wed 14 Nov 2007, 07:22
Contact:

devx_301.sfs Bug

#1 Post by mohan34u »

After Download and mount devx_301.sfs, I can't compile a C program. the full typescript is here..

#cat test.c

#include<stdio.h>
int main(){
printf("\nHello World");
return(0);
}

#gcc test.c

In file included from /usr/include/features.h:346,
from /usr/include/stdio.h:28,
from test.c:1:
/usr/include/gnu/stubs.h:11:3: error: #error "unexpected value for __WORDSIZE macro"
In file included from /usr/include/stdio.h:72,
from test.c:1:
/usr/include/libio.h:296: error: expected specifier-qualifier-list before '_G_off_t'
/usr/include/libio.h:360: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__io_read_fn'
/usr/include/libio.h:368: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__io_write_fn'
/usr/include/libio.h:377: error: expected declaration specifiers or '...' before '_G_off64_t'
/usr/include/libio.h:415: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wunderflow'
/usr/include/libio.h:416: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wuflow'
/usr/include/libio.h:417: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__woverflow'
/usr/include/libio.h:481: error: expected declaration specifiers or '...' before '_G_va_list'
/usr/include/libio.h:483: error: expected declaration specifiers or '...' before '_G_va_list'
/usr/include/libio.h:484: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_IO_padn'
/usr/include/libio.h:485: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_IO_sgetn'
/usr/include/libio.h:487: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_IO_seekoff'
/usr/include/libio.h:488: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_IO_seekpos'
In file included from test.c:1:
/usr/include/stdio.h:88: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fpos_t'
In file included from test.c:1:
/usr/include/stdio.h:341: error: expected declaration specifiers or '...' before '_G_va_list'
/usr/include/stdio.h:346: error: expected declaration specifiers or '...' before '_G_va_list'
/usr/include/stdio.h:349: error: expected declaration specifiers or '...' before '_G_va_list'
/usr/include/stdio.h:360: error: expected declaration specifiers or '...' before '_G_va_list'
/usr/include/stdio.h:672: error: expected declaration specifiers or '...' before '__off_t'
/usr/include/stdio.h:677: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ftello'
/usr/include/stdio.h:697: error: expected declaration specifiers or '...' before 'fpos_t'
/usr/include/stdio.h:702: error: expected ';', ',' or ')' before '*' token

#

the system I compiled..

Intel Pentium D 2.66GHz(1GB RAM)
linux 2.6.21.7
gcc 4.1.2

User avatar
mohan34u
Posts: 67
Joined: Wed 14 Nov 2007, 07:22
Contact:

Aditional Info

#2 Post by mohan34u »

Sorry to mention..

Puppy Version : Puppy 3.01(Seamonkey)..

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

Re: devx_301.sfs Bug

#3 Post by HairyWill »

this works fine for me in 3.01
have you checked the md5 of your devx file

if this is ok you might want to post the lines in the header files that gcc is complaining about.
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

User avatar
mohan34u
Posts: 67
Joined: Wed 14 Nov 2007, 07:22
Contact:

devx_301.sfs not downloaded correctly

#4 Post by mohan34u »

Thanks mate,

This is my download fault. Once again, I downloaded and checked the md5. After that I mounted and check for a simple C program. Its working.

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#5 Post by HairyWill »

glad its working
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

Post Reply