Re: Make Errors

Paul <[email protected]>
Newsgroups gmane.comp.gnu.radius.general
Message-ID <[email protected]>
Gerald wrote:

>On Tue, 19 Oct 2004, Paul wrote:
>  
>
>>tsh.c:512: warning: return makes pointer from integer without a cast
>>    
>>
>
>This looks like a compiler error. Are you using gcc with gmake to build
>this? How did you install gcc or gmake on your system?
>
>What operating system are you running with what versions of gcc and
>gmake?
>
>  
>
Thanks for you reply.  Software versions:

Red Hat 9.0
gcc (GCC) 3.2.2
GNU Make version 3.79.1

I didn't install gcc or gmake myself.  They installed with the system, 
and maybe were updated by apt-rpm.  I'll check to see if there are any 
updates in RPM format.

On the second attempt to compile I ran "make clean" and "make distclean" 
just to be sure.  Then "./configure" and "make 2>err.log".  Here's the 
complete output which has a few more lines than I posted earlier.

rscm_utmp.c:49:1: warning: multi-line string literals are deprecated
rscm_utmp.c:49:1: warning: multi-line string literals are deprecated
rscm_utmp.c:49:1: warning: multi-line string literals are deprecated
log.c: In function `run_log_hook':
log.c:98: warning: passing arg 3 of `rewrite_invoke' discards qualifiers 
from po
inter target type
log.c:98: warning: passing arg 4 of `rewrite_invoke' discards qualifiers 
from po
inter target type
rewrite.y: In function `bi_request_code_string':
rewrite.y:5070: warning: initialization discards qualifiers from pointer 
target
type
tsh.c: In function `tsh_readline_init':
tsh.c:438: `rl_getc_function' undeclared (first use in this function)
tsh.c:438: (Each undeclared identifier is reported only once
tsh.c:438: for each function it appears in.)
tsh.c: In function `tsh_command_completion':
tsh.c:512: warning: return makes pointer from integer without a cast
make[4]: *** [tsh.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.