Closed Bug 299782 Opened 19 years ago Closed 19 years ago

updater.o Unresolved text symbol

Categories

(Toolkit :: Application Update, defect)

SGI
IRIX
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: g.fischer, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; IRIX64 IP27; en-US; rv:1.8b) Gecko/R-A-C
Build Identifier: 

irix 6.5.27, mipspro 7.43, cvs firefox
--------------------------------------

ld32: ERROR   33 : Unresolved text symbol "pthread_join" -- 1st referenced by
updater.o.


i know this is not much output but i'm not sure what else to post.
will include more if needed, just tell me what.


Reproducible: Always

Actual Results:  
build failed
Hi, I'm afraid I don't know the equivalent of pthread_join under IRIX.  That
said, I don't know of any plans to support software update for IRIX, so I would
assume that building Firefox with --disable-updater would be prudent.  This is
probably WONTFIX unless someone cares about porting the software update system
to IRIX, or maybe we should at least automatically disable updater on systems
where we don't support it.
IRIX 6.5 has a pthread library, so it must have pthread_join.
Perhaps you just need to add -lpthread to the linker command
line, or pass the -pthread or -pthreads flag to the compiler
if you use the compiler to link.
(In reply to comment #1)
> Hi, I'm afraid I don't know the equivalent of pthread_join under IRIX.  That
> said, I don't know of any plans to support software update for IRIX, so I would
> assume that building Firefox with --disable-updater would be prudent.  This is
> probably WONTFIX unless someone cares about porting the software update system
> to IRIX, or maybe we should at least automatically disable updater on systems
> where we don't support it.

i used --disable-updater so far and as long as the app compiles it's okay.
the latter sounds good anyway.
saw the same problem added -lpthread and it compiled

CC -o updater  -LANG:exceptions=OFF -woff 3262,3201,1198,3303 -G 4 -LANG:std -n32 -I/usr/freeware/include/glib-2.0 -I/usr/freeware/lib32/glib-2.0/include -I/usr/freeware/include/pango-1.0 -I/usr/local/include/pango-1.0 -I/usr/freeware/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/freeware/include/gtk-2.0 -I/usr/freeware/include/atk-1.0 -I/usr/freeware/lib32/gtk-2.0/include    -DDEBUG -D_DEBUG -DDEBUG_rich -DTRACING -g  updater.o bspatch.o archivereader.o progressui_gtk.o readstrings.o   -n32         -L../../../../../dist/bin -L../../../../../dist/lib ../../../../../dist/lib/libmar.a ../../../../../dist/lib/libbz2.a  -lsocket -ldl -lm  -L/usr/freeware/lib32 -L/usr/local/lib   -lgtk-x11-2.0 -lgdk-x11-2.0 -lXext -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl       
ld32: WARNING 84 : /usr/lib32/libsocket.so is not used for resolving any symbol.
ld32: WARNING 84 : /usr/lib32/libdl.so is not used for resolving any symbol.
ld32: WARNING 84 : /usr/lib32/mips4/libm.so is not used for resolving any symbol.
ld32: WARNING 84 : /usr/freeware/lib32/libpangox-1.0.so is not used for resolving any symbol.
ld32: ERROR   33 : Unresolved text symbol "pthread_join" -- 1st referenced by updater.o.
        Use linker option -v to see when and which objects, archives and dsos are loaded.  
ld32: INFO    152: Output file removed because of error.
gmake[6]: *** [updater] Error 2
gmake[6]: Leaving directory `/usr/people/rich/junk/mozilla/obj-sgi/toolkit/mozapps/update/src/updater'

thanks but the updater is useless on irix anyway.

btw did you happen to try a cvs build lately? maybe ran into this #329463?

thanks anyway
seems to work now with a current checkout.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.