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'

Submitter:  J_Tom_Moon_79 <jtmoon79>
Submitted:  Tue 12 Jul 2011 09:53:41 PM UTC
   
 
Category:  Build/Install Severity:  3 - Normal
Priority:  * 5 - Normal Status:  Need Info
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  4.0.3
Fixed Release:  None Planned Release:  None
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 11 Jun 2015 11:11:56 PM UTC, comment #4: 


>> $ uname -a
>> SunOS lserver4 5.10 Generic_137138-09 i86pc i386 i86pc
> Can you take new sources ("screen-v4" git-branch) and test it again?

Sorry, I cannot.  Those SunOS machines are long gone.

J_Tom_Moon_79 <jtmoon79>
Tue 09 Jun 2015 09:45:28 AM UTC, comment #3: 

Hello,

thank you for submitting bugreport.
Can you take new sources ("screen-v4" git-branch) and test it again?

Alexander Naumov <anaumov>
Group administrator
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 ).

--AG

Anonymous
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

Anonymous
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

J_Tom_Moon_79 <jtmoon79>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by anaumov (Posted a comment)
  • -email is unavailable- added by jtmoon79 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-06-09 anaumov StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code