Thread (19 messages) flat view 19 messages, 4 authors, 2013-02-07

Re: [PATCH iproute-3.8 0/6] ip netns bug fixes and enhancements

From: Vijay Subramanian <hidden>
Date: 2013-02-07 18:17:07

On my system those defines are coming out of sys/mount.h and date back
to 2.6.5 or so.  You should have them available on your system.
What weird system are you on that doesn't export those?
The broken machine is not weird at all, just running a standard
version of Ubuntu (a little older though).
Ubuntu 10.04.1 LTS (lucid).
On this machine, I have the following version of libc6. Version:
2.11.1-0ubuntu7.10

The defines are not present in sys/mount.h but are in linux/fs.h. When
I include linux/fs.h, ipnetns.c compiles fine (but causes other
problems).
As Stephen said, it is probably the version of glibc that is causing this.

I verified this by trying to compile iproute2 on a newer version of
Ubuntu (Ubuntu 12.04.1 LTS, precise) which has glibc version
2.15-0ubuntu10.3. Everything compiles fine here.  The defines are
present in both linux/fs.h and x86_64-linux-gnu/sys/mount.h

I found the libc6 version by running 'aptitude show libc6'.  Let me
know if you need any other info.
I don't have a clue on where to start at a practical level.  It wouldn't
be hard to provide some #ifndef compat glue but I can't imagine why that
would be needed.

Eric
I didn't realize it was a libc versioning error. Sorry if this was noise.

Thanks,
Vijay
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help