tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] error: unknown type size with struct sockaddr_in sa


From: Michael Matz
Subject: Re: [Tinycc-devel] error: unknown type size with struct sockaddr_in sa
Date: Sat, 28 Mar 2020 04:59:30 +0100 (CET)
User-agent: Alpine 2.21 (LSU 202 2017-01-01)

Hello,

On Fri, 27 Mar 2020, Julio Carchi wrote:

Here is a paste of the config.log file

https://pastebin.com/xqmUSKpj

Seems that the ./configure script was unable to find the proper paths where are the include files.

You seem to miss the glibc-kernel interface headers, e.g.
/usr/include/asm/socket.h. (You do seem to have a system based on glibc, looking at some of the error message in the above)

Can you compile this file with gcc on your system as is?

% cat checkme.c
#include <sys/socket.h>
% gcc -c checkme.c

If it doesn't work with gcc either, then you have an incomplete installation of your basic development system and you need to fix that first.

If it does work it might be useful to look at the output of:

% gcc -E -dD checkme.c

to see which macros are defined where for you on your system and maybe see why it doesn't fail in the same way as with tcc.


Ciao,
Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]