Closed Bug 135114 Opened 24 years ago Closed 24 years ago

compilation error, missing prototype decl. of random() in <stdlib.h>

Categories

(SeaMonkey :: Installer, defect)

Sun
Solaris
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: tanaka, Assigned: slogan)

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020310 BuildID: 2002031008 Reproducible: Always Steps to Reproduce: 1.tar zxvf mozilla-0.9.9.tar.gz 2.cd mozilla 3../configure 4.make Actual Results: link-time error, no random() which matches implicit type declaration. I don't know how to merge this kind of patch into source tree, but the below patch fix this problem. *** nsXIEngine.cpp.orig Wed Apr 3 21:19:09 2002 --- nsXIEngine.cpp Sat Mar 30 02:26:49 2002 *************** *** 29,34 **** --- 29,37 ---- #include <errno.h> #include <stdlib.h> + extern "C" { + extern long random(); + } #define CORE_LIB_COUNT 11
What platform is this on?
Summary: compilation error, missing prototype decl. of ramdom() in <stdlib.h> → compilation error, missing prototype decl. of random() in <stdlib.h>
Answer below mistakenly sent in private mail > > What platform is this on? > > Compiling on Solaris 2.5.1(SunOS 5.5.1) for sparc. > > TANAKA Satoshi, tanaka@twcu.ac.jp Changing component, this is the unix install wizard, not the install engine itself.
Assignee: dveditz → syd
Component: Installer: XPInstall Engine → Installer
reporter, can you still reproduce the problem with Mozilla 1.1beta?
URL: http://no URL
Hm, no repsonse from Reporter -->Resolving Worksforme
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.