Hi folks,
I'm afraid my configuration may have changed recently, possibly due to version changes in gcc, and I'm having some trouble compiling l4re, so I wanted to ping you to see if you had any insights.
Two separate issues I've had:
in an existing l4re build, executing make in an individual package sub-directory fails to find basic system headers in included files ("stddef.h" and "stdarg.h" for example). I'm running make O=basel4rebuilddir
On the theory that l4re needs to be recompiled in order to set up links that may have changed since compilation of the last build, I've tried building l4re again, but I similarly run into a linker problem here:
gcc: symbol lookup error: /home/bryce/L4Linux/x86/l4re4/tool/gendep/64/libgendep.so: undefined symbol: dlsym
If you have any thoughts on what I might try, let me know!
Thank you! Bryce
Apologies. The solution to the first problem was what I suggested, and the solution to the second problem was documented here: http://os.inf.tu-dresden.de/pipermail/l4-hackers/2011/005078.html
That is, the problem was the ld behavior change in ubuntu 11.10 which requires the addition of the -Wl, -no-as-needed flags after -shared in the libgendep makefile
Best, Bryce
On 05/09/2013 06:23 PM, Bryce Cronkite-Ratcliff wrote:
Hi folks,
I'm afraid my configuration may have changed recently, possibly due to version changes in gcc, and I'm having some trouble compiling l4re, so I wanted to ping you to see if you had any insights.
Two separate issues I've had:
in an existing l4re build, executing make in an individual package sub-directory fails to find basic system headers in included files ("stddef.h" and "stdarg.h" for example). I'm running make O=basel4rebuilddir
On the theory that l4re needs to be recompiled in order to set up links that may have changed since compilation of the last build, I've tried building l4re again, but I similarly run into a linker problem here:
gcc: symbol lookup error: /home/bryce/L4Linux/x86/l4re4/tool/gendep/64/libgendep.so: undefined symbol: dlsym
If you have any thoughts on what I might try, let me know!
Thank you! Bryce
On Thu May 09, 2013 at 18:23:35 -0700, Bryce Cronkite-Ratcliff wrote:
I'm afraid my configuration may have changed recently, possibly due to version changes in gcc, and I'm having some trouble compiling l4re, so I wanted to ping you to see if you had any insights.
Two separate issues I've had:
in an existing l4re build, executing make in an individual package sub-directory fails to find basic system headers in included files ("stddef.h" and "stdarg.h" for example). I'm running make O=basel4rebuilddir
Do not know whether this is applicable here but running 'make oldconfig' in the boot root dir is needed when changing things in the host system (such as compiler updates).
On the theory that l4re needs to be recompiled in order to set up links that may have changed since compilation of the last build, I've tried building l4re again, but I similarly run into a linker problem here:
gcc: symbol lookup error: /home/bryce/L4Linux/x86/l4re4/tool/gendep/64/libgendep.so: undefined symbol: dlsym
As you said you found it that option is in the Makefile nowadays?!
Adam
l4-hackers@os.inf.tu-dresden.de