Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.os2.programmer.porting > #164
| From | Lewis Rosenthal <lgrosenthal@2-de-sp-am-2rosenthals.com> |
|---|---|
| Newsgroups | comp.os.os2.programmer.porting |
| Subject | Re: building Lighttpd 1.4.30 using gcc 4.4.6: ___builtin_stdarg_start referenced |
| Date | 2011-12-26 16:37 -0500 |
| Organization | Netfront http://www.netfront.net/ |
| Message-ID | <jdape9$2mnb$1@adenine.netfront.net> (permalink) |
| References | <jd8s3o$pkk$1@adenine.netfront.net> <4ef8067e$0$3272$c3e8da3$9b4ff22a@news.astraweb.com> |
On 12/26/11 12:30 am, Dave Yeo thus wrote : > Lewis Rosenthal wrote: >> Greetings, all... >> >> It would surely be more fun building things if I could actually get >> something to work every now and again. ;-) If I couldn't do this on >> Linux with some success, I would probably chalk it up to my own lack of >> ability. Anyway... >> >> Trying to build the above, running make, I get: >> >> lemon.c: In function 'ErrorMsg': >> lemon.c:1305: warning: implicit declaration of function >> '__builtin_stdarg_start' >> <snip> >> My reading of some gcc info tells me that ___builtin_stdarg_start was >> deprecated by 2008 or so (see >> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35460), and in fact, line >> 1305 of lemon.c references va_start: >> >> va_start(ap, format); <snip> >> I've tried this both with Paul's packaged gcc446 (and the included >> gcc446.cmd, edited to reference j: instead of u:, to fit my setup), and >> with the 4.4.6 build installed via yum (which was no mean feat, as >> "/usr/lib/libiberty.a from install of gcc-4.4.6-11.oc00.i386 conflicts >> with file from package binutils-static-2.21-1.oc00.i386" - I finally >> forced it). >> >> Anyway, I get the same stall using either gcc 4.4.6. Is >> ___builtin_stdarg_start defined (incorrectly) somewhere? >> >> TIA >> > You're including the wrong stdarg.h. You need the one that comes with > gcc 4.4.6 which will use __builtin_va_start(). Perhaps back up the one > in usr\include and replace with the one in local446\include\386 > You also need to file a bug(s) against YUM, both for stdarg and libiberty. > Ah, thanks, Dave. This makes sense. I should have looked for the obvious, I guess! I'll see to opening those bugs, too. Cheers/2 -- Lewis ------------------------------------------------------------- Lewis G Rosenthal, CNA, CLP, CLE, CWTS Rosenthal & Rosenthal, LLC www.2rosenthals.com Need a managed Wi-Fi hotspot? www.hautspot.com visit my IT blog www.2rosenthals.net/wordpress ------------------------------------------------------------- --- Posted via news://freenews.netfront.net/ - Complaints to news@netfront.net ---
Back to comp.os.os2.programmer.porting | Previous | Next — Previous in thread | Next in thread | Find similar
building Lighttpd 1.4.30 using gcc 4.4.6: ___builtin_stdarg_start referenced Lewis Rosenthal <lgrosenthal@2-de-sp-am-2rosenthals.com> - 2011-12-25 23:10 -0500
Re: building Lighttpd 1.4.30 using gcc 4.4.6: ___builtin_stdarg_start referenced Dave Yeo <dave.r.yeo@gmail.com> - 2011-12-25 21:30 -0800
Re: building Lighttpd 1.4.30 using gcc 4.4.6: ___builtin_stdarg_start referenced Lewis Rosenthal <lgrosenthal@2-de-sp-am-2rosenthals.com> - 2011-12-26 16:37 -0500
Re: building Lighttpd 1.4.30 using gcc 4.4.6: ___builtin_stdarg_start referenced Lewis Rosenthal <lgrosenthal@2-de-sp-am-2rosenthals.com> - 2011-12-26 22:23 -0500
Re: building Lighttpd 1.4.30 using gcc 4.4.6: ___builtin_stdarg_start referenced Dave Yeo <dave.r.yeo@gmail.com> - 2011-12-26 23:06 -0800
Re: building Lighttpd 1.4.30 using gcc 4.4.6: ___builtin_stdarg_start referenced Dave Yeo <dave.r.yeo@gmail.com> - 2011-12-27 00:09 -0800
Re: building Lighttpd 1.4.30 using gcc 4.4.6: ___builtin_stdarg_start referenced Lewis Rosenthal <lgrosenthal@2-de-sp-am-2rosenthals.com> - 2011-12-27 08:40 -0500
csiph-web