On Fri, 2004-07-23 at 20:02, Alex Thomsen Leth wrote:
> i cant compile partitionmorpher. something wrong with it?
> i got this when compiling:
>
> pm_libparted.h:291: error: syntax error before '*' token
> pm_libparted.h:291: warning: data definition has no type or storage
> class
> pm_libparted.h:294: error: syntax error before "sec"
> pm_libparted.h:296: error: syntax error before "pm_mb_to_pedsector"
> pm_libparted.h:296: warning: data definition has no type or storage
> class
Tried updating libparted?
> main.c: In function `main':
> main.c:80: error: `stderr' undeclared (first use in this function)
> main.c:80: error: (Each undeclared identifier is reported only once
> main.c:80: error: for each function it appears in.)
> main.c:97: error: `stdout' undeclared (first use in this function)
> make[2]: *** [main.o] Error 1
> make[2]: Leaving directory `/root/partitionmorpher/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/partitionmorpher'
> make: *** [all] Error 2
>
Seems like, not looked at the code, that he/she forgot to #include
<stdio.h> and/or stdlib.h
>
> Alex Thomsen Leth
>
> --
> Alex Thomsen Leth <alexl@xxxxxxxxxxx>
>
Try looking at the code, often it can help.
Cheers!
--
Sölvi Páll Ásgeirsson <solvi@xxxxxxxxxxxxx>
signature.asc
Description: This is a digitally signed message part
--
Fedora-config-list mailing list
Fedora-config-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-config-list
|