what happened to stdarg.h or varargs.h
Colin Law
clanlaw at googlemail.com
Sat Aug 3 21:01:46 UTC 2013
On 3 August 2013 21:11, Kevin O'Gorman <kogorman at gmail.com> wrote:
> On Sat, Aug 3, 2013 at 12:36 PM, Colin Law <clanlaw at googlemail.com> wrote:
>> On 3 August 2013 19:34, Kevin O'Gorman <kogorman at gmail.com> wrote:
>>> I just tried to build a package from source, and it died looking for
>>> one of these headers and not finding either one.
>>>
>>> It's been a long time since I wrote code to use these myself, but I
>>> cannot believe they just disappeared. However, I cannot find them on
>>> my system. I have the usual dev tools, or thought
>>> I did. What am I missing?
>>
>> On 13.04 I have
>> /usr/lib/gcc/i686-linux-gnu/4.7/include/stdarg.h
>> supplied by
>> libgcc-4.7-dev
>>
>> If you run
>> apt-file search stdarg.h
>> you will see which packages may provide it. If you have not installed
>> apt-file then you need to install it and run
>> apt-file update
>> first.
>>
>> Colin
>
> Okay, I tried apt-file, and got a confusion of things. Since my
> default compiler is gcc-4.6.3, probably the most relevant are
> gcc-4.6: /usr/lib/gcc/i686-linux-gnu/4.6/include/cross-stdarg.h
> gcc-4.6: /usr/lib/gcc/i686-linux-gnu/4.6/include/stdarg.h
> <<-- I'd guess this is the one
So is that file present on your system? apt-file search does not tell
you that it is installed, it tells you which packages will provide it
if you install them. You said in your first email that you could not
find it, but if it were there then find or locate should have shown
you.
Colin
More information about the ubuntu-users
mailing list