DragonFly BSD
DragonFly bugs List (threaded) for 2004-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

GDB 6 compile problems


From: Kip Macy <kmacy@xxxxxxxxxxx>
Date: Fri, 30 Jan 2004 18:48:21 -0800

Not too long ago GDB 6 compiled fine. However, I just tried to compile
it and got the following error:

gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -DTRAD_CORE -I. -I.
-I./../include -I./../intl -I../intl -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -g -O2 -c trad-core.c -o trad-core.o
In file included from /usr/include/sys/user.h:65,
                 from trad-core.c:44:
/usr/include/vm/vm_map.h: In function `_vm_map_lock_upgrade':
/usr/include/vm/vm_map.h:306: warning: implicit declaration of function
`lockmgr'
trad-core.c: In function `trad_unix_core_file_p':
trad-core.c:100: structure has no member named `u_dsize'
trad-core.c:105: structure has no member named `u_ssize'
trad-core.c:122: structure has no member named `u_dsize'
trad-core.c:126: structure has no member named `u_ssize'
trad-core.c:133: structure has no member named `u_dsize'
trad-core.c:133: structure has no member named `u_ssize'
trad-core.c:178: structure has no member named `u_dsize'
trad-core.c:183: structure has no member named `u_ssize'
trad-core.c:191: structure has no member named `u_tsize'
trad-core.c:197: structure has no member named `u_ssize'
trad-core.c:214: structure has no member named `u_ar0'
trad-core.c:217: structure has no member named `u_dsize'
trad-core.c: In function `trad_unix_core_file_failing_command':
trad-core.c:243: structure has no member named `p_comm'
trad-core.c: In function `trad_unix_core_file_failing_signal':
trad-core.c:257: structure has no member named `u_sig'
trad-core.c:261: warning: control reaches end of non-void function
gmake[3]: *** [trad-core.lo] Error 1

uname -a :
DragonFly netherworld.fsmware.com 1.0-CURRENT DragonFly 1.0-CURRENT #0:
Tue Jan 20 21:43:37 PST 2004    kmacy@xxxxxxxxxxxxxxxxxxxxxxx:/usr/src/sys/compile/NETHERWORLD  i386


of course, for it to work I had to do setenv UNAME_s FreeBSD

Is it worthwhile to make FSF tools "DragonFly-aware"?


			-Kip



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]