Subject: Re: Compiling errors.
To: Mattias Karlsson <keihan@sergei.cc>
From: Mattias Karlsson <keihan@sergei.cc>
List: current-users
Date: 04/18/2002 14:33:27
You can ignore this message,
"cd usr.bin/make && cc *.c */*.c -I . -o make && mv make /usr/bin"
worked :)
----- Original Message -----
From: "Mattias Karlsson" <keihan@sergei.cc>
Date: Thursday, April 18, 2002 2:16 pm
Subject: Compiling errors.
> Hi,
>
> I've read thru /usr/src/UPDATING and seems I need to build make
> and
> install, get some errors tho, have I missed something?
>
> Please reply to Me, I'm not in the list.
>
> --------
>
> natasja# pwd
> /usr/src/usr.bin/make
> natasja# make
> cc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-
> arith -
> Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -
> Wwrite-
> strings -Wswitch -Wshadow -Werror -I/usr/src/usr.bin/make -c arch.c
> cc1: warnings being treated as errors
> arch.c: In function `ArchStatMember':
> arch.c:550: warning: passing arg 4 of `ArchFindMember' discards
> `const'
> from pointer target type
> arch.c: In function `Arch_Touch':
> arch.c:963: warning: passing arg 1 of `Var_Value' discards `const'
> from
> pointer target type
> arch.c:964: warning: passing arg 1 of `Var_Value' discards `const'
> from
> pointer target type
> arch.c:965: warning: passing arg 4 of `ArchFindMember' discards
> `const'
> from pointer target type
> arch.c: In function `Arch_MTime':
> arch.c:1037: warning: passing arg 1 of `Var_Value' discards
> `const'
> from pointer target type
> arch.c:1038: warning: passing arg 1 of `Var_Value' discards
> `const'
> from pointer target type
> arch.c: In function `Arch_FindLib':
> arch.c:1151: warning: passing arg 1 of `Var_Set' discards `const'
> from
> pointer target type
> *** Error code 1
>
> Stop.
> natasja# pwd
> /usr/src/usr.bin/make
> natasja# cd ../xinstall/
> natasja# make
> cc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-
> arith -
> Wno-uninitialized -Werror -
> I/usr/src/usr.bin/xinstall/../../bin/ls -
> c /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c
> cc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-
> arith -
> Wno-uninitialized -Werror -
> I/usr/src/usr.bin/xinstall/../../bin/ls -c
> xinstall.c
> cc1: warnings being treated as errors
> xinstall.c: In function `main':
> xinstall.c:132: warning: implicit declaration of function
> `setprogname'xinstall.c: In function `usage':
> xinstall.c:998: warning: implicit declaration of function
> `getprogname'xinstall.c:998: warning: assignment makes pointer
> from integer without
> a cast
> *** Error code 1
>
> Stop.
>
>
>