Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tlug: compiling error - please advise



Tluggers, 

Please tell me what to do, if you know: 
in response to "make config", then "make all"
within /usr/src/linux/pcmcia-cs-3.0.6/ I get the following 
errors; think it has to do with the gcc version but 
not sure. 
also, a search dejanews showed that others had 
a similiar problem, but I didn't see a final solution 
to the situtation. Perhaps something justs needs to 
be commented out? 

"locate gcc" reveals that my system has the following 
directories and files: 

/usr/lib/gcc-lib/i486-pc-linux-gnu/egcs-2.91.60
/usr/lib/gcc-lib/i486-pc-linux-gnu/2.7.2.3

You may be mumbling "why not just go with a more 
recent kernel". I may do that, but I found that 
certain things in TL 3.0.2 cannot be used with 
a newer kernel. One thing that was bothersome was 
the loss of qps, a GUI that works much like TOP. 
Turns out that a new version of qt was needed but 
I wasn't able to introduce them into the system 
easily...
Rather than fight with this (small) problem and 
others that may pop up, I would prefer just to 
solve this pcmcia-cs situation and plod on with 
the older kernel...



the errors: 


set -e ; for d in modules clients cardmgr flash debug-tools man
etc ; do
make -C $d ; done
make[1]: Entering directory
`/usr/src/linux-2.0.36/pcmcia-cs-3.0.6/modules'
gcc  -MD -O2 -Wall -Wstrict-prototypes -Winline -pipe -O2
-fno-strength-reduce -D__KERNEL__ -DMODULE -I../include
-I/usr/src/linux/include -I/usr/src/linux -c i82365.c
In file included from i82365.c:28:
/usr/src/linux/include/linux/types.h:7: warning: #warning "This code is
tested with gcc 2.7.2.x only. Using egcs/gcc 2.8.x needs"
/usr/src/linux/include/linux/types.h:8: warning: #warning "additional
patches that have not been sufficiently tested to include by"
/usr/src/linux/include/linux/types.h:9: warning: #warning "default."
/usr/src/linux/include/linux/types.h:10: warning: #warning "See
http://www.suse.de/~florian/kernel+egcs.html for more information"
/usr/src/linux/include/linux/types.h:11: #error "Remove this if you have
applied the gcc 2.8/egcs patches and wish to use them"
/usr/src/linux/include/asm/string.h: In function `__constant_memcpy':
In file included from /usr/src/linux/include/linux/string.h:39,
                 from i82365.c:30:
/usr/src/linux/include/asm/string.h:443: warning: control reaches end of
non-void function
/usr/src/linux/include/asm/string.h: In function
`__constant_c_and_count_memset':
/usr/src/linux/include/asm/string.h:594: warning: control reaches end of
non-void function
make[1]: *** [i82365.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.0.36/pcmcia-cs-3.0.6/modules'
make: *** [all] Error 2






-------------------------------------------------------------------
Next Technical Meeting: August 14 (Sat), 13:00  place: Temple Univ.
*** Special guest: Marc Christensen (Salt Lake Linux Users Group)
Next Nomikai: September 20 (Fri), 19:30 Tengu TokyoEkiMae 03-3275-3691
-------------------------------------------------------------------
more info: http://www.tlug.gr.jp        Sponsor: Global Online Japan


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links