LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-20-2007, 01:14 AM   #1
unixnovice
LQ Newbie
 
Registered: Aug 2007
Posts: 2

Rep: Reputation: 0
Unhappy there is a bug in glibc's heeder ??(gcc 4.1)


hi ,everybody

today I update my OS to debian-40r0
and install the gcc-4.1 (use the official cd),but I encounter a proble

When I compile thevsftpd-2.0.5.

Quote:
...
gcc -c sysutil.c -O2 -Wall -W -Wshadow -march=i586 -mtune=i686 -idirafter
dummyinc
sysutil.c: In function 'vsf_sysutil_wait_exited_normally':
sysutil.c:604: error: assignment of read-only member '__in'
sysutil.c: In function 'vsf_sysutil_wait_get_exitcode':
sysutil.c:614: error: assignment of read-only member '__in'
make: *** [sysutil.o] Error 1
I google it ,but no answer for it ,somebody know it ?

some one tell me to edit the wait.h
replace the code blow
Quote:
# define __WAIT_INT(status) \
(__extension__ ({ union { __typeof(status) __in; int __i; } __u; \
__u.__in = (status); __u.__i; }))

to
Quote:
# define __WAIT_INT(status) \
(__extension__ (((union { __typeof(status) __in; int __i; }) \
{ .__in = (status) }).__i))
but It doesn't work
and appear new error when compile sysdeputil.c


I'm a new ,need you help!!
 
Old 08-23-2007, 03:25 PM   #2
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Rep: Reputation: 108Reputation: 108
Hya,

I have no way to trace this situation, but I rather recommend to install vsftpd package. It is available on etch.

Happy Penguins!
 
Old 08-24-2007, 04:42 AM   #3
knobby67
Member
 
Registered: Mar 2006
Posts: 627

Rep: Reputation: 43
To be honest I went back to 3.4, I had a lot of intergration problems with other peoples code. Apt-get install gcc-3.4, rm /usr/bin/gcc, ln /usr/bin/gcc-3.4 /usr/bin/gcc, will start a lot of problomatic code working.
 
  


Reply

Tags
compiler, error, gcc, glibc



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
2038 bug-Is Debian Bug-Proof? deepclutch Debian 1 08-02-2007 10:59 AM
Is it GCC bug? vkmgeek Programming 19 11-08-2006 12:31 AM
bug reports on glibc or gcc tvburger Linux From Scratch 1 12-06-2004 12:43 AM
Extremely strange bug in gcc/g++ Maidros Linux - Software 3 05-08-2004 06:28 AM
gcc bug? fab12 Programming 2 02-07-2004 07:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration