On 2012/10/05 17:55, Mike Manilone wrote:
But the problem will also happen even if I'm using the default gcc 4.2...
cc -O2 -pipe -I/usr/src/lib/libc/include
-I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/amd64 -DNLS
-D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa
-DINET6 -I/usr/obj/usr/src/lib/libc -I/usr/src/lib/libc/resolv
-D_ACL_PRIVATE -DPOSIX_MISTAKE
-I/usr/src/lib/libc/../../contrib/tzcode/stdtime
-I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/locale -DBROKEN_DES
-DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING
-DSYMBOL_VERSIONING -std=gnu99 -fstack-protector -Wsystem-headers
-Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c
/usr/src/lib/libc/amd64/sys/__vdso_gettc.c -o __vdso_gettc.o
/usr/src/lib/libc/amd64/sys/__vdso_gettc.c:31:22: error: sys/vdso.h:
No such file or directory
/usr/src/lib/libc/amd64/sys/__vdso_gettc.c:35: warning: 'struct
vdso_timehands' declared inside parameter list
/usr/src/lib/libc/amd64/sys/__vdso_gettc.c:35: warning: its scope is
only this definition or declaration, which is probably not what you want
/usr/src/lib/libc/amd64/sys/__vdso_gettc.c: In function
'__vdso_gettc_low':
/usr/src/lib/libc/amd64/sys/__vdso_gettc.c:40: error: dereferencing
pointer to incomplete type
/usr/src/lib/libc/amd64/sys/__vdso_gettc.c: At top level:
/usr/src/lib/libc/amd64/sys/__vdso_gettc.c:45: warning: 'struct
vdso_timehands' declared inside parameter list
/usr/src/lib/libc/amd64/sys/__vdso_gettc.c: In function '__vdso_gettc':
/usr/src/lib/libc/amd64/sys/__vdso_gettc.c:48: error: dereferencing
pointer to incomplete type
/usr/src/lib/libc/amd64/sys/__vdso_gettc.c:48: warning: passing
argument 1 of '__vdso_gettc_low' from incompatible pointer type
*** [__vdso_gettc.o] Error code 1
On 2012/10/05 17:24, Dimitry Andric wrote:
Don't use an absolute path for CC, it will not work. You can't build
FreeBSD with ports clang, yet.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"
Well. I noticed that /usr/src/sys/sys/vdso.h exists. Is there a way to
install the new headers collection? I think this may solve the problem. ;-)
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"