Randy McMurchy wrote:
> Rob Burris wrote these words on 11/21/07 11:34 CST:
>
> [cc'd to BLFS-Support]
>
>
>   
>> I made it through LFS 6.2 and I'm now working on BLFS. Trying to compile 
>> TCL 8.4.13 and I get the following error message.
>>
>> gcc -c -O2 -DTCL_DBGX= -fPIC -I/tcl8.4.13/unix/../generic 
>> ...
>> from /tcl8.4.13/unix/../generic/tcl.h:159,
>> ...
>> /usr/include/sys/types.h:67: error: two or more data types in 
>> declaration specifiers
>> ...
>> /tcl8.4.13/unix/../generic/regcomp.c: In function ‘dovec’:
>> /tcl8.4.13/unix/../generic/regcomp.c:1589: warning: passing argument 1 
>> of ‘free’ from incompatible pointer type
>> make: *** [regcomp.o] Error 1
>>     
>
> I don't think an "improperly compiled GCC" is the issue. To me, it
> simply looks more like incompatible headers with the kernel version.
> Though if you used what is outlined in LFS-6.2 without modifications,
> then the Tcl-8.4.13 version should compile.
>
> I am just speculating though, and have no research or data available
> to confirm anything. I just see complications with Tcl headers and
> the /usr/include/sys/types.h header. You may try to use the most
> current version of Tcl (8.4.16) and see what happens.
>   
Current version of TCL didn't work either. TCL-8.4.13 compiled fine 
during LFS install.
> Also, are you unpacking the tarballs into the root of your filesystem?
> Seeing how it is looking for /tcl8.4.13/... it appears so. To me, this
> is odd as it would require root privileges to just unpack the tarball.
> I would *never* do that. Again, just guessing.
>   
You caught me. I was unpacking them as root. I know, not a very good 
idea. I was being lazy.
> You should provide follow-up comments to the BLFS-Support group as
> this issue is not an LFS issue.
>   
I was on the LFS mailing list and moved on to BLFS without changing 
mailing lists. My bad :(

I think now that the problem is that I was using the LFS 6.2 manual when 
one day (not too long ago) it changed to LFS 6.3. However, I was still 
using the 6.2-5 LiveCD. I *was* able find a mirror site that hosted the 
old 6.2 manual and I followed that. But I must has gotten confused 
somewhere between the two? Below is the kernel and headers versions that 
came with the LiveCD and is what I installed. Perhaps it just makes 
sense to start from the beginning again with LFS 6.3 manual.

linux-2.6.16.38
linux-libc-headers-2.6.12.0

Cheers,
Rob
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to