[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [CPROG] compiling toshiba utility package with gcc 2.9.5



> Den er under "development til X", men der er vist blot xlib eller
> lignende pakke. Men hvis oversættelsen går godt så mangler den nok ikke.
>
> Hvor er det der går galt? (har du en mere præcis fejlmeldning)

Her ses begyndelsen af gcc outputtet. Den forsøger kun at oversætte kernel 
modulet her, alle andre programmer er oversat. Der er MEGET mere af disse 
fejl. JAB siger, at gcc 2.9.5 har et problem med at kompilere kerne moduler 
uden for kernens src træ, og foreslår at definere KERNEL_STRICT_NAMES i filen 
toshiba.c, men det gør ingen forskel.

sslug@sslug toshutils-1.9.9]# make
cd src; make all
make[1]: Entering directory `/home/anders/download/toshutils-1.9.9/src'
gcc -m486 -O2 -Wall -D__KERNEL__ -DKERNEL -DMODULE  -c toshiba.c -o toshiba.o
In file included from /usr/include/linux/sched.h:13,
                 from toshiba.c:49:
/usr/include/linux/times.h:5: parse error before `clock_t'
/usr/include/linux/times.h:5: warning: no semicolon at end of struct or union
/usr/include/linux/times.h:6: warning: data definition has no type or storage 
class
/usr/include/linux/times.h:7: parse error before `tms_cutime'
/usr/include/linux/times.h:7: warning: data definition has no type or storage 
class
/usr/include/linux/times.h:8: parse error before `tms_cstime'
/usr/include/linux/times.h:8: warning: data definition has no type or storage 
class
In file included from /usr/include/linux/timex.h:142,
                 from /usr/include/linux/sched.h:14,
                 from toshiba.c:49:
/usr/include/linux/time.h:10: parse error before `time_t'
/usr/include/linux/time.h:10: warning: no semicolon at end of struct or union
/usr/include/linux/time.h:12: parse error before `}'
/usr/include/linux/time.h: In function `timespec_to_jiffies':
/usr/include/linux/time.h:32: dereferencing pointer to incomplete type
/usr/include/linux/time.h:33: dereferencing pointer to incomplete type
/usr/include/linux/time.h: In function `jiffies_to_timespec':
/usr/include/linux/time.h:45: dereferencing pointer to incomplete type
/usr/include/linux/time.h:46: dereferencing pointer to incomplete type
/usr/include/linux/time.h: At top level:
..
..
..
toshiba.c: At top level:
/usr/include/linux/coda.h:261: storage size of `va_atime' isn't known
/usr/include/linux/coda.h:262: storage size of `va_mtime' isn't known
/usr/include/linux/coda.h:263: storage size of `va_ctime' isn't known
/usr/include/linux/coda.h:563: storage size of `attr' isn't known
/usr/include/linux/fs.h:443: storage size of `f_owner' isn't known
/usr/include/linux/reiserfs_fs_sb.h:184: storage size of `j_journal_list' 
isn't known/usr/include/linux/sched.h:288: storage size of `times' isn't known
make[1]: *** [toshiba.o] Error 1
make[1]: Leaving directory `/home/anders/download/toshutils-1.9.9/src'
make: *** [all] Error 2


Hmm

-anders


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:08 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *