On 04-Apr-99 David O'Brien wrote:
>> /usr/obj/home/imp/FreeBSD/src/tmp/usr/lib/libc.a(mktemp.o): In function
>> `mkstemps':
>> mktemp.o(.text+0x0): multiple definition of `mkstemps'
>> /usr/obj/home/imp/FreeBSD/src/gnu/usr.bin/cc/cc/../cc_drv/libcc_drv.a(mks
>> temp.o)(.text+0x0): first defined here
>> /usr/libexec/elf/ld: Warning: size of symbol `mkstemps' changed from 573
>> to 39 in mktemp.o
> 
> I can't duplicate this problem.  Just to be sure... you aren't using
> -DNOCLEAN, -O2 or anything like that, right?

I now can =)

using a freshly cvsupped repository, cvs checkout of src, and make with a
clean obj tree. So -DNOCLEAN isn't the issue, I replace -O2 in the
/etc/make.conf with -Os.

Funny thing that it bombs now, whereas I made world fine before.

===> gnu/usr.bin/cc/cc
cc -Os -pipe -DFREEBSD_ELF
-I/work/FreeBSD/src/gnu/usr.bin/cc/cc/../../../../contrib/egcs/gcc
-I/work/FreeBSD/src/gnu/usr.bin/cc/cc/../../../../contrib/egcs/gcc/config
-DFREEBSD_NATIVE -DDEFAULT_TARGET_VERSION=\"egcs-2.91.66\"
-DDEFAULT_TARGET_MACHINE=\"\"
-I/usr/obj/work/FreeBSD/src/gnu/usr.bin/cc/cc/../cc_tools
-I/work/FreeBSD/src/gnu/usr.bin/cc/cc/../cc_tools   -c
/work/FreeBSD/src/gnu/usr.bin/cc/cc/../../../../contrib/egcs/gcc/gcc.c
In file included from
/work/FreeBSD/src/gnu/usr.bin/cc/cc/../../../../contrib/egcs/gcc/gcc.c:555:
/usr/obj/work/FreeBSD/src/gnu/usr.bin/cc/cc/../cc_tools/multilib.h:4:
warning: initialization from incompatible pointer type
/work/FreeBSD/src/gnu/usr.bin/cc/cc/../../../../contrib/egcs/gcc/gcc.c:1178:
 warning: initialization from incompatible pointer type
/work/FreeBSD/src/gnu/usr.bin/cc/cc/../../../../contrib/egcs/gcc/gcc.c: In
function `print_multilib_info':
/work/FreeBSD/src/gnu/usr.bin/cc/cc/../../../../contrib/egcs/gcc/gcc.c:5919:
 warning: assignment from incompatible pointer type
cc -Os -pipe -DFREEBSD_ELF
-I/work/FreeBSD/src/gnu/usr.bin/cc/cc/../../../../contrib/egcs/gcc
-I/work/FreeBSD/src/gnu/usr.bin/cc/cc/../../../../contrib/egcs/gcc/config
-DFREEBSD_NATIVE -DDEFAULT_TARGET_VERSION=\"egcs-2.91.66\"
-DDEFAULT_TARGET_MACHINE=\"\"
-I/usr/obj/work/FreeBSD/src/gnu/usr.bin/cc/cc/../cc_tools
-I/work/FreeBSD/src/gnu/usr.bin/cc/cc/../cc_tools    -o cc gcc.o 
/usr/obj/work/FreeBSD/src/gnu/usr.bin/cc/cc/../cc_drv/libcc_drv.a
/usr/obj/work/FreeBSD/src/gnu/usr.bin/cc/cc/../cc_drv/libcc_drv.a(choose-tem
p.o): In function `make_temp_file':
choose-temp.o(.text+0x278): undefined reference to `mkstemps'
*** Error code 1

Stop.

Going to look at Warner's patches just in case...

---
Jeroen Ruigrok van der Werven     <http://www.freebsdzine.org> 
asmodai(at)wxs.nl        The idea does not replace the work...
Network/Security Specialist      <http://home.wxs.nl/~asmodai>
*BSD: Powered by Knowledge & Know-how <http://www.freebsd.org>


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to