bugGNU Screen - Bugs: bug #33759, build error: misc.c:619: error:...


bug #33759: build error: misc.c:619: error: too few arguments to function `setenv'

Submitted by:  J_Tom_Moon_79 <jtmoon79>
Submitted on:  Tue 12 Jul 2011 09:53:41 PM UTC  
Category: Build/InstallSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: 4.0.3
Fixed Release: NonePlanned Release: None
Work Required: None

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Sun 25 Mar 2012 07:31:59 PM UTC, comment #2:

I updated line 616 to:

# if defined(linux) || defined(_convex_) || (BSD >= 199103) || defined(sun)

which worked for me on Solaris ( SunOS 5.10 ).


Tue 30 Aug 2011 06:28:14 PM UTC, comment #1:

There's an #ifdef to split out the two- and three-argument
versions of setenv(). Looks like you need to pick out the
#define for your SunOS environment and add it to the conditional.

Andy Valencia

Tue 12 Jul 2011 09:53:41 PM UTC, original submission:

screen version 4.0.3 fails to build.
Here is the relevant output:

$ uname -a
SunOS lserver4 5.10 Generic_137138-09 i86pc i386 i86pc
$ wget 'http://ftp.gnu.org/gnu/screen/screen-4.0.3.tar.gz'
$ gunzip -c screen-4.0.3.tar.gz | tar -xvf -
$ cd screen-4.0.3
$ ./configure
$ make
CPP="gcc -E " srcdir=. sh ./osdef.sh
AWK=nawk CC="gcc -g -O2" srcdir=. sh ./comm.sh
AWK=nawk srcdir=. sh ./term.sh
gcc -c -I. -I. -g -O2 screen.c
gcc -c -I. -I. -g -O2 ansi.c
gcc -c -I. -I. -g -O2 fileio.c
gcc -c -I. -I. -g -O2 mark.c
gcc -c -I. -I. -g -O2 misc.c
misc.c: In function `xsetenv':
misc.c:619: error: too few arguments to function `setenv'
make: *** [misc.o] Error 1


J_Tom_Moon_79 <jtmoon79>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by jtmoon79 (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    No Changes Have Been Made to This Item

    Back to the top

    Powered by Savane 3.1-cleanup