Closed Bug 248506 Opened 20 years ago Closed 19 years ago

Can't build any mozilla product: `va_copy' undeclared

Categories

(SeaMonkey :: Build Config, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: omgs, Unassigned)

References

Details

(Whiteboard: Debian "Woody" only)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.7) Gecko/20040616
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.7) Gecko/20040616

When trying to build _any_ mozilla product, I _always_ get this error:

nsTextFormatter.cpp:910: `va_copy' undeclared (first use this function)
nsTextFormatter.cpp:910: (Each undeclared identifier is reported only once
nsTextFormatter.cpp:910: for each function it appears in.)
make[4]: *** [nsTextFormatter.o] Error 1

I use debian woody, and have a "twin" computer, that with (theorically) the same
software, builds the soft successfully. I've been trying to search myself what's
the difference, but I think all compiler versions (AFAIK) match. This bug is for
helping me to be able to build mozilla software successfully in my main machine
(the "bogus" one). I use this machine for other purpose and build other
software, and haven't had any problem with other software, only when building
mozilla.

Reproducible: Always
Steps to Reproduce:
We have configure checks for old *nixes that don't implement va_copy. See
http://lxr.mozilla.org/mozilla/source/configure.in#2451

I don't know offhand why your build might be failing, but please take the
following steps:

1) make sure you are configuring with the same compiler that you're building with
2) look at the ouput of "configure" for anything obviously suspicious
3) attach the output of "configure" to this bug as an attachment
I use "make -f client.mk build", but I'll try "configure" and attach the result
*** Bug 248514 has been marked as a duplicate of this bug. ***
*** Bug 251535 has been marked as a duplicate of this bug. ***
Summary: Can't build any mozilla product → Can't build any mozilla product: `va_copy' undeclared
FWIW, I don't see this on Fedora Core 2 w/2.6.7 kernel. Adding Debian to Whiteboard.
Whiteboard: Debian "Woody" only
Product: Browser → Seamonkey
This needs nothing to do at this time, so I close it
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.