bug-grep
[Top][All Lists]
Advanced

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

[bug #24813] grep 2.5.3 fails to compile on Sun Solaris with "void funct


From: Kamaraju Kusumanchi
Subject: [bug #24813] grep 2.5.3 fails to compile on Sun Solaris with "void function cannot return value" error
Date: Tue, 11 Nov 2008 15:00:21 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3

URL:
  <http://savannah.gnu.org/bugs/?24813>

                 Summary: grep 2.5.3 fails to compile on Sun Solaris with
"void function cannot return value" error
                 Project: grep
            Submitted by: kamaraju
            Submitted on: Tue 11 Nov 2008 03:00:16 PM GMT
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

I downloaded the source for grep 2.5.3 from
http://ftp.gnu.org/gnu/grep/grep-2.5.3.tar.bz2 .

I configured the source using

nohup ./configure --prefix=/home/kkusuman/software/myroot 2>&1 >
configure.log &

I tried to compile the source using

nohup make 2>&1 > make.log &

The compilation stops with the following errors

Making all in src
make[2]: Entering directory
`/home/kkusuman/software/compileHere/grep-2.5.3/src'
source='search.c' object='search.o' libtool=no \
        DEPDIR=.deps depmode=none /bin/bash ../depcomp \
        cc -DHAVE_CONFIG_H -I. -I.. -I../intl -I../lib
-DLOCALEDIR=\"/home/kkusuman/software/myroot/share/locale\" 
-I/home/kkusuman/software/myroot/include  -g -c search.c
"search.c", line 169: warning: argument #1 is incompatible with prototype:
        prototype: pointer to char : "/usr/include/iso/wchar_iso.h", line
194
        argument : pointer to const char
"search.c", line 284: void function cannot return value
"search.c", line 289: void function cannot return value
"search.c", line 294: void function cannot return value
cc: acomp failed for search.c
make[2]: *** [search.o] Error 2
make[2]: Leaving directory
`/home/kkusuman/software/compileHere/grep-2.5.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kkusuman/software/compileHere/grep-2.5.3'
make: *** [all] Error 2


The configure.log, make.log are attached for your reference.

thanks
raju



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 11 Nov 2008 03:00:18 PM GMT  Name: make.log  Size: 18kB   By:
kamaraju

<http://savannah.gnu.org/bugs/download.php?file_id=16831>
-------------------------------------------------------
Date: Tue 11 Nov 2008 03:00:17 PM GMT  Name: configure.log  Size: 8kB   By:
kamaraju

<http://savannah.gnu.org/bugs/download.php?file_id=16830>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?24813>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]