[K42-discussion] lib-emu header patch
Patrick Bozeman
PEBozeman at lbl.gov
Sat Sep 16 04:32:14 EST 2006
As part of the enchanced procfs support I am working on, I needed to
include <io/FileLinux.H> in ProcessLinux.H so that I could ask a
ProcessLinux object to return a FileLinux::Stat for a given fd.
However, simply including FileLinux.H in ProcessLinux.H broke the
compilation and linking of lib emu. The two most common errors were as
follows:
example of compile error:
/home/peb/src/k42-devel-patches/k42/kitchsrc/kitch-linux/lib/emu/recv.C:44:
error: `
__k42_linux_recvfrom' undeclared (first use this function)
example of post link error:
powerpc64-linux-nm -p k42sys.o | egrep -w U
U .__k42_linux_connect
Error: undefined symbols found in k42sys.o
The attached patch allows ProcessLinux.H to include FileLinux.H. The
ProcessLinux::getFDStatus part will come in a future patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: emu-header.patch
Type: text/x-patch
Size: 9989 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/k42-discussion/attachments/20060915/f30af25a/attachment.bin
More information about the K42-discussion
mailing list