libwnck errors on amd64... guidance appreciated...

Jeff Racine jracine at
Thu Apr 8 08:26:53 PDT 2004


I am in the process of setting up a dual opteron box. I installed gnome 2.4 from the 5.2.1 cd, then updated to current and am upgrading to gnome2.6. Things were going well but I have hit a snag with libwmck related to the Xlibs I think.

Here is the relevant part of the failure (uname, dmesg etc. to follow), and thanks ever so much for your time and efforts.

cc -shared  -Wl,--rpath -Wl,/usr/X11R6/lib  application.lo class-group.lo pager.lo screen.lo tasklist.lo util.lo window.lo window-action-menu.lo window-menu.lo workspace.lo xutils.lo wnck-enum-types.lo wnck-marshal.lo pager-accessible.lo pager-accessible-factory.lo workspace-accessible.lo workspace-accessible-factory.lo  -L/usr/local/lib -L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lXrandr -lXi -lXinerama -lXcursor -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lXft -lfreetype -lz -lXrender -lXext -lfontconfig -lpangox-1.0 -lX11 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -liconv -lstartup-notification-1 -lSM -lICE -lX11 -lXRes -lXext  -Wl,-soname -Wl, -Wl,-retain-symbols-file -Wl,.libs/libwnck-1.exp -o .libs/

/usr/bin/ld: /usr/X11R6/lib/libXRes.a(XRes.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC

/usr/X11R6/lib/libXRes.a: could not read symbols: Bad value

gmake[2]: *** [] Error 1

gmake[2]: Leaving directory `/usr/ports/x11-toolkits/libwnck/work/libwnck-'

gmake[1]: *** [all-recursive] Error 1

gmake[1]: Leaving directory `/usr/ports/x11-toolkits/libwnck/work/libwnck-'

gmake: *** [all-recursive-am] Error 2

*** Error code 2
Stop in /usr/ports/x11-toolkits/libwnck.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade44793.0 make

-- dmesg
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 5.2-CURRENT #0: Wed Apr  7 13:17:17 GMT 2004
    root at
Preloaded elf kernel "/boot/kernel/kernel" at 0xffffffff808a3000.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Opteron(tm) Processor 248 (2205.01-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0xf58  Stepping = 8
  AMD Features=0xe0500800<SYSCALL,NX,MMX+,LM,3DNow!+,3DNow!>
real memory  = 3623813120 (3455 MB)
avail memory = 3494772736 (3332 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0 <Version 1.1> irqs 0-23 on motherboard
ioapic1 <Version 1.1> irqs 24-27 on motherboard
ioapic2 <Version 1.1> irqs 28-31 on motherboard
acpi0: <A M I OEMRSDT> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x5008-0x500b on acpi0
acpi_cpu0: <CPU> port 0x530-0x537 on acpi0
acpi_cpu1: <CPU> port 0x530-0x537 on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 6.0 on pci0
pci2: <ACPI PCI bus> on pcib2
ohci0: <OHCI (generic) USB controller> mem 0xfd8fe000-0xfd8fefff irq 19 at device 0.0 on pci2
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: <OHCI (generic) USB controller> mem 0xfd8ff000-0xfd8fffff irq 19 at device 0.1 on pci2
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1: <OHCI (generic) USB controller> on ohci1
usb1: USB revision 1.0
uhub1: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
fwohci0: <Texas Instruments TSB43AB22/A> mem 0xfd8f8000-0xfd8fbfff,0xfd8fd800-0xfd8fdfff irq 18 at device 6.0 on pci2
fwohci0: [GIANT-LOCKED]
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channel is 4.
fwohci0: EUI64 00:00:00:00:00:01:0e:f8
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:00:00:01:0e:f8
fwe0: Ethernet address: 02:00:00:01:0e:f8
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
ohci2: <NEC uPD 9210 USB controller> mem 0xfd8f7000-0xfd8f7fff irq 19 at device 7.0 on pci2
usb2: OHCI version 1.0
usb2: <NEC uPD 9210 USB controller> on ohci2
usb2: USB revision 1.0
uhub2: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 3 ports with 3 removable, self powered
ohci3: <NEC uPD 9210 USB controller> mem 0xfd8fc000-0xfd8fcfff irq 16 at device 7.1 on pci2
usb3: OHCI version 1.0
usb3: <NEC uPD 9210 USB controller> on ohci3
usb3: USB revision 1.0
uhub3: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
pci2: <serial bus, USB> at device 7.2 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <AMD 8111 UDMA133 controller> port 0xffa0-0xffaf at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <bridge, PCI-unknown> at device 7.3 (no driver attached)
pcm0: <AMD-8111> port 0xcc00-0xcc3f,0xc800-0xc8ff irq 17 at device 7.5 on pci0
pcm0: <Avance Logic ALC655 AC97 Codec>
pcib3: <ACPI PCI-PCI bridge> at device 10.0 on pci0
pci3: <ACPI PCI bus> on pcib3
skc0: <Marvell Gigabit Ethernet> port 0xa800-0xa8ff mem 0xfd9fc000-0xfd9fffff irq 19 at device 3.0 on pci3
skc0: Yukon Gigabit Ethernet 10/100/1000Base-T Adapter
sk0: <Marvell Semiconductor, Inc. Yukon> on skc0
sk0: Ethernet address: 00:d0:68:03:d4:99
miibus0: <MII bus> on sk0
e1000phy0: <Marvell 88E1000 Gigabit PHY> on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto
pci0: <base peripheral, interrupt controller> at device 10.1 (no driver attached)
pcib4: <ACPI PCI-PCI bridge> at device 11.0 on pci0
pci4: <ACPI PCI bus> on pcib4
twe0: <3ware 7000 series Storage Controller. Driver version> port 0xbc00-0xbc0f mem 0xfe000000-0xfe7fffff,0xfeaffc00-0xfeaffc0f irq 17 at device 1.0 on pci4
twe0: 4 ports, Firmware FE7S, BIOS BE7X
pci0: <base peripheral, interrupt controller> at device 11.1 (no driver attached)
acpi_button0: <Power Button> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0 port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
cpu0 on motherboard
cpu1 on motherboard
orm0: <Option ROMs> at iomem 0xcf800-0xd07ff,0xc0000-0xcf7ff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 0.976 msec
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
acd0: CDRW <SAMSUNG CDRW/DVD SM-352B> at ata1-master PIO4
twed0: <Unit 0, TwinStor, Normal> on twe0
twed0: 70910MB (145224064 sectors)
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/twed0s1a

-- uname

FreeBSD 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Apr  7 13:17:17 GMT 2004     root at  amd64

More information about the freebsd-amd64 mailing list