[AG-TECH] Problems emerging the agtk 2.3 vic does not compile gentoo 2004.3
gwbrowning at ualr.edu
gwbrowning at ualr.edu
Tue Feb 22 18:00:14 CST 2005
Hello all,
I am having problems with emerge on gentoo 2004.3. Here is what i did.
1. Created my PORTDIR_OVERLAY directory (/usr/local/portage) and placed the line PORTDIR_OVERLAY=/usr/local/portage in my make.conf file.
here is my whole make.conf file
# These settings were set by the catalyst build script that automatically built$
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
LIB="-lpthread"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
ALSA_CARDS="emu10k1"
PORTDIR_OVERLAY=/usr/local/portageag-media/vic-1.1.13
2. I typed emerge -aq ag-libs/agtk to start the process it told me 22 objects needed to be completed. The emerge got down to the package ag-media/vic-1.1.13 and the linker errored out. Here is the
last part of the emerge:
g++ -g -g -W -Wall -Wno-implicit-int -Wno-return-type -DUSE_SHM -fsigned-char -D
ED_YBITS=4 -DSIGRET=void -DNLAYER=8 -I. -Icodec/tmndec -Icodec/tmn-x -Icodec/h26
3 -Irtp -Irender -Inet -Ivideo -Icodec -I../common/src -I../tk-8.0/generic -I..
/tcl-8.0/generic -Icodec/jpeg -Icodec/p64 -I. -o vic net/inet.o net/inet6.o c
odec/cellb_tables.o tkStripchart.o md5c.o random.o codec/h263/h263rtp.o codec/h2
63/h263dec.o codec/h263/bitIn.o codec/h263/input.o codec/h263/getgob.o codec/h26
3/reconh263.o codec/h263/recon.o codec/h263/getvlc.o codec/h263/getblk.o codec/h
263/h263enc.o codec/h263/motion.o codec/h263/block.o codec/h263/bitOut.o codec/h
263/h263mux.o codec/h263/idctdec.o codec/h263/fdct.o codec/h263/code.o codec/h26
3/gethdr.o codec/h263/idctenc.o codec/h263/sac.o main.o iohandler.o timer.o idle
callback.o media-timer.o rate-variable.o Tcl.o Tcl2.o module.o net/crypt.o net/c
rypt-des.o net/pkttbl.o net/pktbuf.o net/net.o net/net-ip.o net/net-addr.o net/n
et-ipv6.o net/mbus_handler.o net/mbus_engine.o net/group-ipc.o net/confbus.o rtp
/session.o rtp/source.o rtp/transmitter.o rtp/pktbuf-rtp.o video/device.o video/
grabber.o video/grabber-still.o codec/encoder-h261.o codec/encoder-jpeg.o codec/
encoder-raw.o codec/encoder-h263.o codec/encoder-h263v2.o codec/encoder-nv.o cod
ec/encoder-cellb.o codec/encoder-pvh.o codec/compositor.o codec/jpeg/jpeg.o code
c/p64/p64.o codec/dct.o codec/transcoder-jpeg.o codec/framer-jpeg.o codec/decode
r-pvh.o video/assistor-list.o codec/decoder.o codec/decoder-jpeg.o codec/decoder
-nv.o codec/decoder-h263.o codec/decoder-h263v2.o codec/decoder-cellb.o codec/de
coder-h261.o codec/decoder-h261v1.o codec/decoder-raw.o render/renderer.o render
/renderer-window.o render/color.o render/color-true.o render/color-pseudo.o rend
er/color-dither.o render/color-ed.o render/color-quant.o render/color-hi.o rende
r/color-gray.o render/color-mono.o render/color-hist.o render/rgb-converter.o re
nder/vw.o codec/encoder-bvc.o codec/decoder-bvc.o cm0.o cm1.o huffcode.o versio
n.o bv.o codec/pvh-huff.o ui-ctrlmenu.o ui-main.o ui-resource.o ui-relate.o ui-s
rclist.o ui-stats.o ui-util.o ui-windows.o ui-switcher.o ui-extout.o ui-grabber.
o ui-unix.o cf-main.o cf-tm.o cf-confbus.o cf-network.o cf-util.o tkerror.o entr
y.o accessgrid.o ag-pixrate.o autoplace_ui.o tk.o strtol.o strtoul.o video/grab
ber-video4linux.o video/grabber-x11.o net/crypt-rijndael.o net/rijndael-alg-fst.
o net/rijndael-api-fst.o ../tk-8.0/unix/libtk8.0.a ../tcl-8.0/unix/libtcl8.0.a
-L/usr/X11R6/lib -lXext -lX11 codec/tmndec/libh263.a codec/tmn-x/libh263coder.a
../common/src/libuclmmbase.a -lm -static
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../libc.a(strtol.o)(.text+0x4a):
In function `strtol':
: multiple definition of `strtol'
strtol.o(.text+0x0):/var/tmp/portage/vic-1.1.13/work/ag-media/vic/strtol.c:68: f
irst defined here
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: W
arning: size of symbol `strtol' changed from 167 in strtol.o to 75 in /usr/lib/g
cc-lib/i686-pc-linux-gnu/3.3.4/../../../libc.a(strtol.o)
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../libc.a(strtoul.o)(.text+0x4a):
In function `strtoul':
: multiple definition of `strtoul'
strtoul.o(.text+0x0):/var/tmp/portage/vic-1.1.13/work/ag-media/vic/strtoul.c:83:
first defined here
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: W
arning: size of symbol `strtoul' changed from 439 in strtoul.o to 75 in /usr/lib
/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../libc.a(strtoul.o)
../tcl-8.0/unix/libtcl8.0.a(tclUnixPipe.o)(.text+0xd6): In function `TclpCreateT
empFile':
: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
../tcl-8.0/unix/libtcl8.0.a(tclUnixFCmd.o)(.text+0x988): In function `GetGroupAt
tribute':
: warning: Using 'getgrgid' in statically linked applications requires at runtim
e the shared libraries from the glibc version used for linking
../tcl-8.0/unix/libtcl8.0.a(tclUnixFCmd.o)(.text+0xb80): In function `SetGroupAt
tribute':
: warning: Using 'getgrnam' in statically linked applications requires at runtim
e the shared libraries from the glibc version used for linking
../tcl-8.0/unix/libtcl8.0.a(tclUnixFCmd.o)(.text+0x9b2): In function `GetGroupAt
tribute':
: warning: Using 'endgrent' in statically linked applications requires at runtim
e the shared libraries from the glibc version used for linking
../tcl-8.0/unix/libtcl8.0.a(tclUnixFCmd.o)(.text+0xc91): In function `SetOwnerAt
tribute':
: warning: Using 'getpwnam' in statically linked applications requires at runtim
e the shared libraries from the glibc version used for linking
../tk-8.0/unix/libtk8.0.a(tkCanvPs.o)(.text+0x64b): In function `TkCanvPostscrip
tCmd':
: warning: Using 'getpwuid' in statically linked applications requires at runtim
e the shared libraries from the glibc version used for linking
../tk-8.0/unix/libtk8.0.a(tkCanvPs.o)(.text+0x686): In function `TkCanvPostscrip
tCmd':
: warning: Using 'endpwent' in statically linked applications requires at runtim
e the shared libraries from the glibc version used for linking
net/inet.o(.text+0x219): In function `LookupHostName':
net/inet.c:119: warning: Using 'gethostbyaddr' in statically linked applications
requires at runtime the shared libraries from the glibc version used for linkin
g
net/inet.o(.text+0x48): In function `LookupHostAddr':
net/inet.c:47: warning: Using 'gethostbyname' in statically linked applications
requires at runtime the shared libraries from the glibc version used for linking
../tcl-8.0/unix/libtcl8.0.a(tclIOSock.o)(.text+0x37): In function `TclSockGetPor
t':
: warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0x745): In function `_XEventsQueued':
: undefined reference to `pthread_equal'
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xa96): In function `_XEventsQueued':
: undefined reference to `pthread_equal'
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xab3): In function `_XEventsQueued':
: undefined reference to `pthread_equal'
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xad1): In function `_XEventsQueued':
: undefined reference to `pthread_equal'
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xaeb): In function `_XEventsQueued':
: undefined reference to `pthread_equal'
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xb66): more undefined references to `pthread_equal' follow
collect2: ld returned 1 exit status
make: *** [vic] Error 1
3. I have done a lot of research on this found a and work around so I could manually compile it. The work around is go to the /var/tmp/portage/vic-1.1.13 directory and add -lpthread to the LIB line of
the make file. After doing this VIC compiled fine but even though I did this emerge still thinks it is not finished with ag-media/vic-1.1.13 and overwrites the tmp folder.
QUESTION
My question is: Is there something I do not have on my system? Is there a way to globally add the -lpthread to a LIB line somewhere like make.conf? Is this a bug?
Computer Specs
dual 3.06 Xeons
1 gig memory
80 gig scsi
Gentoo 2004.3
Thanks for looking
Gregory Browning
******************************************
Gregory W. Browning, B.S., MCP, A+
Laboratory Specialist
University of Arkansas at Little Rock
Systems Engineering
(Office) 501-683-7101
(FAX) 501-569-8698
******************************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gwbrowning.vcf
Type: text/x-vcard
Size: 244 bytes
Desc: Card for <gwbrowning at ualr.edu>
URL: <http://lists.mcs.anl.gov/pipermail/ag-tech/attachments/20050223/09d3a150/attachment.vcf>
More information about the ag-tech
mailing list