compile error in isapnp-tools

Lukas Mol L.Mol at ITS.TUDelft.nl
Sun Nov 12 14:09:35 PST 2000


Hmm thanks for the suggestion Richard,
I tried it... make goes a little bit further, but not all the way ;-(
I had to add FILE* before o_file = stdout in the main section. That
worked... Thanks again ;-)))
-- 
Lukas Mol       tel: ++31-15-2613644
Gandhilaan 34   mob: ++31-6-24201416
2622 GE Delft   fax: ++31-20-8744659
The Netherlands UIN: 4421187

> From: richard at reika.demon.co.uk
> Reply-To: lfs-apps at linuxfromscratch.org
> Date: Fri, 10 Nov 2000 14:51:45 +0000
> To: lfs-apps at linuxfromscratch.org
> Subject: Re: compile error in isapnp-tools
> 
> Misquoted from Lukas Mol on Fri, Nov 10, 2000 at 03:31:09PM +0100:
>> I get the following error when trying to compile isapnp-tools (1.23)
>> 
>> gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include    -O3 -mcpu=i586
>> -march=i586 -c pnpdump_main.c
>> pnpdump_main.c:87: initializer element is not constant
>> make[1]: *** [pnpdump_main.o] Error 1
>> make[1]: Leaving directory `/usr/src/isapnptools-1.23/src'
>> make: *** [all-recursive] Error 1
>> 
>> Line 87 of pnpdump_main.c is:
>> static FILE* o_file = stdout;
>> 
>> Has anyone had similar trouble? Maybe even a solution ;-)
> Try this:
> Line 87 of pnpdump_main.c:
> static FILE* o_file;
> 
> Look for something like:
> int main (int argc, char** argv)
> {
> ....
> 
> The names argc and argv may be different. After the { add:
> o_file = stdout;
> 
> Richard
> 
> -- 
> Unsubscribe: send email to lfs-apps-request at linuxfromscratch.org
> and put unsubscribe in the subject header of the message
> 


-- 
Unsubscribe: send email to lfs-apps-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the blfs-support mailing list