Menu

#3 make fails under Solaris due to asprintf

open
None
2
2005-03-10
2004-12-03
Anonymous
No

In OS Solaris 9 with last patches and gcc
Fri Dec 3/11:42:09/apollo#gcc -v
Reading specs from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.2

Fri Dec 3/11:42:45/apollo#make
g++ -g -Iinclude/ -Wall -Llib/ -DTEST parseURL.cc -o
parser-test
In file included from include/srg.h:51,
from parseURL.cc:23:
include/getline.hh: In constructor `Line::Line(const
char*)':
include/getline.hh:30: `madvise' undeclared (first use
this function)
include/getline.hh:30: (Each undeclared identifier is
reported only once for
each function it appears in.)
parseURL.cc: In function `char* asprintURL(url_request*)':
parseURL.cc:301: `asprintf' undeclared (first use this
function)
make: *** [parser-test] Error 1

What I did make wrong?

Thanks.

Victor Belous

bvictor@lynx.ru

Discussion

  • Matt Brown

    Matt Brown - 2004-12-03
    • priority: 5 --> 2
    • assigned_to: nobody --> mattgbrown
    • status: open --> open-postponed
     
  • Matt Brown

    Matt Brown - 2004-12-03

    Logged In: YES
    user_id=589791

    SRG currently doesn't build cleanly on Solaris sorry. It's
    in the TODO list for a future release.

    Patches are welcomed.

     
  • Matt Brown

    Matt Brown - 2005-03-01
    • status: open-postponed --> open
     
  • Matt Brown

    Matt Brown - 2005-03-10
    • summary: make error --> make fails under Solaris due to asprintf
     

Log in to post a comment.