Re: SiS755 AGP support

2004-07-22 Thread Tom Vier
On Thu, Jul 22, 2004 at 08:36:55PM -0500, John Lenz wrote:
> I have a Radeon 9200, so the open source drivers should work.  But when  
> loading the radeon module (which happens after the agpgart, since  
> agpgart is compiled into the kernel (I am using the kernel-image-2.6.7- 
> 5-amd64) it does not say anything about AGP.

are you using a 32bit userland with that 64bit kernel? or pure64? i just
posted about this problem, which has been around for a while. in addition to
dri not working, there are transcient display bugs.

-- 
Tom Vier <[EMAIL PROTECTED]>
DSA Key ID 0x15741ECE




make config problems, nautilus

2004-07-22 Thread Matt Kay
Hi,
I installed Debian AMD64 on my Opteron box which I intend to use as a 
personal desktop/workstation. I really appreciate the time you guys have 
put into the port, and I would appreciate a little help on something. I 
need to compile my own kernel from the source, which I have downloaded. 
However, none of the configure commands work: make config, make menuconfig, 
make xconfig and make gconfig all fail, although Gnome dialogue boxes are 
popping up from debconf very happily. Am I missing some prerequisite 
package? I include the output at the end of this mail (it is the same 
regardless of output type requested be it plain text, ncurses, Gnome or X).

Also, nautilus does not work at all - is this a known bug? Sorry if it is.
Thanks very much!
Matt
mrk28:/usr/src/kernel-source-2.6.7# make gconfig
 HOSTCC scripts/basic/fixdep scripts/basic/fixdep.c:97:23: sys/types.h: No 
such file or directory scripts/basic/fixdep.c:98:22: sys/stat.h: No such 
file or directory scripts/basic/fixdep.c:99:22: sys/mman.h: No such file or 
directory scripts/basic/fixdep.c:100:20: unistd.h: No such file or 
directory scripts/basic/fixdep.c:101:19: fcntl.h: No such file or directory 
scripts/basic/fixdep.c:102:20: string.h: No such file or directory 
scripts/basic/fixdep.c:103:20: stdlib.h: No such file or directory 
scripts/basic/fixdep.c:104:19: stdio.h: No such file or directory In file 
included from /usr/lib/gcc-lib/x86_64-linux/3.3.4/include/syslimits.h:7, 
from /usr/lib/gcc-lib/x86_64-linux/3.3.4/include/limits.h:11,
from scripts/basic/fixdep.c:105: 
/usr/lib/gcc-lib/x86_64-linux/3.3.4/include/limits.h:122:75: limits.h: No 
such file or directory scripts/basic/fixdep.c:106:19: ctype.h: No such file 
or directory scripts/basic/fixdep.c:107:24: netinet/in.h: No such file or 
directory scripts/basic/fixdep.c: In function `usage': 
scripts/basic/fixdep.c:121: warning: implicit declaration of function 
`fprintf' scripts/basic/fixdep.c:121: error: `stderr' undeclared (first use 
in this function) scripts/basic/fixdep.c:121: error: (Each undeclared 
identifier is reported only once scripts/basic/fixdep.c:121: error: for 
each function it appears in.) scripts/basic/fixdep.c:122: warning: implicit 
declaration of function `exit' scripts/basic/fixdep.c: In function 
`print_cmdline': scripts/basic/fixdep.c:127: warning: implicit declaration 
of function `printf' scripts/basic/fixdep.c: At top level: 
scripts/basic/fixdep.c:130: error: `NULL' undeclared here (not in a 
function) scripts/basic/fixdep.c: In function `grow_config': 
scripts/basic/fixdep.c:143: warning: implicit declaration of function 
`realloc' scripts/basic/fixdep.c:143: warning: assignment makes pointer 
from integer without a cast scripts/basic/fixdep.c:144: error: `NULL' 
undeclared (first use in this function) scripts/basic/fixdep.c:145: 
warning: implicit declaration of function `perror' scripts/basic/fixdep.c: 
In function `is_defined_config': scripts/basic/fixdep.c:161: warning: 
implicit declaration of function `memcmp' scripts/basic/fixdep.c: In 
function `define_config': scripts/basic/fixdep.c:174: warning: implicit 
declaration of function `memcpy' scripts/basic/fixdep.c: In function 
`use_config': scripts/basic/fixdep.c:193: error: `PATH_MAX' undeclared 
(first use in this function) scripts/basic/fixdep.c:207: warning: implicit 
declaration of function `tolower' scripts/basic/fixdep.c:193: warning: 
unused variable `s' scripts/basic/fixdep.c: At top level: 
scripts/basic/fixdep.c:212: error: parse error before "size_t" 
scripts/basic/fixdep.c:213: warning: function declaration isn't a prototype 
scripts/basic/fixdep.c: In function `parse_config_file': 
scripts/basic/fixdep.c:214: error: `map' undeclared (first use in this 
function)scripts/basic/fixdep.c:214: error: `len' undeclared (first use in 
this function)scripts/basic/fixdep.c:220: warning: implicit declaration of 
function `ntohl' scripts/basic/fixdep.c:231: warning: implicit declaration 
of function `isalnum' scripts/basic/fixdep.c: In function `strrcmp': 
scripts/basic/fixdep.c:244: warning: implicit declaration of function 
`strlen' scripts/basic/fixdep.c: In function `do_config_file': 
scripts/basic/fixdep.c:255: error: storage size of `st' isn't known 
scripts/basic/fixdep.c:259: warning: implicit declaration of function 
`open' scripts/basic/fixdep.c:259: error: `O_RDONLY' undeclared (first use 
in this function) scripts/basic/fixdep.c:261: error: `stderr' undeclared 
(first use in this function) scripts/basic/fixdep.c:265: warning: implicit 
declaration of function `fstat' scripts/basic/fixdep.c:267: warning: 
implicit declaration of function `close' scripts/basic/fixdep.c:270: 
warning: implicit declaration of function `mmap' 
scripts/basic/fixdep.c:270: error: `NULL' undeclared (first use in this 
function) scripts/basic/fixdep.c:270: error: `PROT_READ' undeclared (first 
use in this function) scripts/basic/fixdep.c:270: error: `MAP_PRIVATE' 
undeclared (first use in th

SiS755 AGP support

2004-07-22 Thread John Lenz
Hi.  Has anyone got SiS 755 AGP support working?  In the linux kernel  
Kconfg for the AGP_AMD64 option it says

"You still need an external AGP bridge like the AMD 8151, VIA
K8T400M, SiS755. It may also support other AGP bridges when loaded 	   
with agp_try_unsupported=1."

So it seems like SiS755 is a supported device.
In dmesg, I get
agpgart: Detected AGP bridge 0
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: AGP aperture is 128M @ 0xe000
I have a Radeon 9200, so the open source drivers should work.  But when  
loading the radeon module (which happens after the agpgart, since  
agpgart is compiled into the kernel (I am using the kernel-image-2.6.7- 
5-amd64) it does not say anything about AGP.

[drm] Initialized radeon 1.11.0 20020828 on minor 0: ATI Technologies  
Inc RV280 [Radeon 9200]
[drm] Loading R200 Microcode

glxinfo says "direct rendering: Yes", but in /var/log/XF86Config it has  
a whole bunch of lines like

(II) RADEON(0): [pci] 8192 kB allocated with handle 0xff30f000
(II) RADEON(0): [pci] ring handle = 0xff30f000
and glxgears only has around 300 frames per second.
In a 32 bit install/kernel on this same machine, I can install the ati  
binary drivers and get around 1700 fps, but they are buggy for me  
(neverwinter nights leaks memory very fast).

How can I get the radeon module to see and use AGP?
John



Re: How to build a kernel which boots from SATA?

2004-07-22 Thread Michael Bienia
On 2004-07-22 22:46:16 +0200, Frederik Schueler wrote:
> > But I didn't
> > get my prism54 card working (it works in my old i386 box). Reading
> > http://prism54.org/phpwiki/Prism54%20Debian%20HowTo I assume some kernel
> > options are wrong.
> 
> comparing the kernel options, only CONFIG_STANDALONE=y is different in
> the debian kernel. 
> This option is also set in the i386 kernels.

On i386 I used a self-compiled kernel therefore I can't say if the
debian i386 kernels work or not. What I get with the amd64 kernel is:
- from iwconfig:
| eth1  NOT READY!  ESSID:off/any
|   [...]

- from dmesg:
|  Loaded prism54 driver, version 1.1
|  eth1: prism54 driver detected card model: SMC2802W
  nothing more, I don't see a try to load the firmware.
  The necessary modules are loaded:
| firmware_class 12032  1 prism54
| prism5459736  0
(pci_hotplug is not available)
  
> > Kernel Panic: VFS: Unable to mount root fs on unknown-block(0,0) )
> 
> check your lilo.conf: setup the old (debian-)kernel to boot with
> ramdisk, and the new selfcompiled one without.

I use grub. This is from my last try (same config as 2.6.7-5-amd64-k8
but CONFIG_STANDALONE=n):
| title   Debian GNU/Linux, kernel 2.6.8-rc2
| root(hd0,4)
| kernel  /boot/vmlinuz-2.6.8-rc2 root=/dev/hde5 ro
| initrd  /boot/initrd.img-2.6.8-rc2
| savedefault
| boot
# ll /boot/initrd.img-2.6.8-rc2
-rw-r--r--  1 root root 4354048 Jul 22 20:46 /boot/initrd.img-2.6.8-rc2

looks ok to me. When trying to boot this kernel the last I see is (from
my head):
- something about unloading some modules
- an error message (dev/console not found)
- and then Kernel panic: tried to kill init

Michael




Re: How to build a kernel which boots from SATA?

2004-07-22 Thread Michael Bienia
On 2004-07-22 22:36:33 +0200, Kurt Roeckx wrote:
> On Thu, Jul 22, 2004 at 10:25:39PM +0200, Michael Bienia wrote:
> > Hello,
> > 
> > I've got a new amd64 box and so far everything works fine. But I didn't
> > get my prism54 card working (it works in my old i386 box). Reading
> > http://prism54.org/phpwiki/Prism54%20Debian%20HowTo I assume some kernel
> > options are wrong. So I tried to build a new kernel (2.6.8-rc2) but I
> > didn't get it to boot from my SATA disk. The installed kernel
> > (2.6.7-5-amd64-k8-smp) boots fine (module is sata_via).
> 
> Maybe you also have an other module for it?  sata_via makes it
> /dev/sda while there is a driver (forgot it's name) that makes it
> /dev/hde.

The current root device is /dev/hde5.
# lsmod | grep ata
sata_via8772  0
libata 46088  1 sata_via
scsi_mod  140096  1 libata

In my monolithic kernel config I had:
CONFIG_SCSI=y
CONFIG_SCSI_SATA=y
CONFIG_SCSI_SATA_VIA=y

Is there something missing for compiled-in SATA support?

I tried to boot this kernel also with root=/dev/sda5 but the kernel
gives the same error. I also don't remember to see something about SATA
scroll by (maybe I missed it)

Michael




dri doesn't work under 32bit emu

2004-07-22 Thread Tom Vier
anyone have a fix? does it work in pure64?

-- 
Tom Vier <[EMAIL PROTECTED]>
DSA Key ID 0x15741ECE




Re: How to build a kernel which boots from SATA?

2004-07-22 Thread Frederik Schueler
Hi,

On Thu, Jul 22, 2004 at 10:25:39PM +0200, Michael Bienia wrote:
> I've got a new amd64 box and so far everything works fine.

Grats =)

> But I didn't
> get my prism54 card working (it works in my old i386 box). Reading
> http://prism54.org/phpwiki/Prism54%20Debian%20HowTo I assume some kernel
> options are wrong.

comparing the kernel options, only CONFIG_STANDALONE=y is different in
the debian kernel. 
This option is also set in the i386 kernels.

> Kernel Panic: VFS: Unable to mount root fs on unknown-block(0,0) )

check your lilo.conf: setup the old (debian-)kernel to boot with
ramdisk, and the new selfcompiled one without.


Greetings
Frederik Schueler

-- 
ENOSIG




Re: Problem with libstdc++

2004-07-22 Thread Andreas Richter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Donnerstag, 22. Juli 2004 17:36 schrieb Kurt Roeckx:
> Upgrade your gcc-3.3 to 3.3.4-5.  The 3.3.4-4 has the symlink
> wrong.

Yeah. Have already updated and it works again :)

- -- 
Greetings / Gruss
Andreas Richter  http://www.oszine.de
GPG-KeyID  0x7BA12DD9
Fingerprint D2E9 202B F4F0 EB16 25DE 5FF7 0CF2 3C57 7BA1 2DD9
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBACdDDPI8V3uhLdkRAtngAJ0V13UvRs8LEkHpxgw/jY0YN3KtxgCfXnK7
s9bFcUlZsj8c8yXZI76sgGg=
=O0x9
-END PGP SIGNATURE-




Re: How to build a kernel which boots from SATA?

2004-07-22 Thread Gerard H. Pille
Michael Bienia wrote:
Hello,
I've got a new amd64 box and so far everything works fine. But I didn't
get my prism54 card working (it works in my old i386 box). Reading
http://prism54.org/phpwiki/Prism54%20Debian%20HowTo I assume some kernel
options are wrong. So I tried to build a new kernel (2.6.8-rc2) but I
didn't get it to boot from my SATA disk. The installed kernel
(2.6.7-5-amd64-k8-smp) boots fine (module is sata_via).
I tried to compile all necessary drivers into the kernel but it didn't
boot (the error message was AFAIR
Kernel Panic: VFS: Unable to mount root fs on unknown-block(0,0) )
I also tried to use the configuration from the working kernel and only
change the needed options but I also didn't get it to boot (as I
normally don't use a initrd, is "mkinitrd -o /boot/initrd.img-2.6.8-rc2 
2.6.8-rc2"
the right command to build the initrd?).
What is the correct way to build a kernel which boots from a SATA disk?
Michael

er... you didn't forget lilo or the like?  lilo.conf is aware of the new initrd?
--
Gerard H. Pille



Re: How to build a kernel which boots from SATA?

2004-07-22 Thread Kurt Roeckx
On Thu, Jul 22, 2004 at 10:25:39PM +0200, Michael Bienia wrote:
> Hello,
> 
> I've got a new amd64 box and so far everything works fine. But I didn't
> get my prism54 card working (it works in my old i386 box). Reading
> http://prism54.org/phpwiki/Prism54%20Debian%20HowTo I assume some kernel
> options are wrong. So I tried to build a new kernel (2.6.8-rc2) but I
> didn't get it to boot from my SATA disk. The installed kernel
> (2.6.7-5-amd64-k8-smp) boots fine (module is sata_via).

Maybe you also have an other module for it?  sata_via makes it
/dev/sda while there is a driver (forgot it's name) that makes it
/dev/hde.


Kurt




How to build a kernel which boots from SATA?

2004-07-22 Thread Michael Bienia
Hello,

I've got a new amd64 box and so far everything works fine. But I didn't
get my prism54 card working (it works in my old i386 box). Reading
http://prism54.org/phpwiki/Prism54%20Debian%20HowTo I assume some kernel
options are wrong. So I tried to build a new kernel (2.6.8-rc2) but I
didn't get it to boot from my SATA disk. The installed kernel
(2.6.7-5-amd64-k8-smp) boots fine (module is sata_via).
I tried to compile all necessary drivers into the kernel but it didn't
boot (the error message was AFAIR
Kernel Panic: VFS: Unable to mount root fs on unknown-block(0,0) )
I also tried to use the configuration from the working kernel and only
change the needed options but I also didn't get it to boot (as I
normally don't use a initrd, is "mkinitrd -o /boot/initrd.img-2.6.8-rc2 
2.6.8-rc2"
the right command to build the initrd?).

What is the correct way to build a kernel which boots from a SATA disk?

Michael




Re: working mozilla, ffox and tbird packages in unstable pure64.

2004-07-22 Thread Anders Peter Fugmann
Gerard H. Pille wrote:
Unfortunately, I have only been to school till 260856, so maybe if you 
could elaborate a little?

He is referring to a bug number in the debian bug tracking system.
See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=260857
To patch download the attached patch and do:
$ patch /usr/bin/mozilla-1.7.1 < /tmp/mozilla.patch
(assuming you downloaded the patch as /tmp/mozilla.patch)
Regards
Anders Fugmann



Re: working mozilla, ffox and tbird packages in unstable pure64.

2004-07-22 Thread Gerard H. Pille
Frederik Schueler wrote:
Hi,
Thanks to the debian GCC maintainers, who finally uploaded gcc-3.4 to
unstable, we now have working binaries of mozilla, mozilla-firefox and
mozilla-thunderbird in the pure64 archive on alioth.
they where recompiled with gcc 3.4.1-2 and uploaded today, and do not
segfault anymore :-)
The mozilla package unfortunately has #260857 open, but if you fix the
script by hand it works like a charm. 

Greetings
Frederik Schueler
Unfortunately, I have only been to school till 260856, so maybe if you could 
elaborate a little?

--
Gerard H. Pille



working mozilla, ffox and tbird packages in unstable pure64.

2004-07-22 Thread Frederik Schueler
Hi,

Thanks to the debian GCC maintainers, who finally uploaded gcc-3.4 to
unstable, we now have working binaries of mozilla, mozilla-firefox and
mozilla-thunderbird in the pure64 archive on alioth.

they where recompiled with gcc 3.4.1-2 and uploaded today, and do not
segfault anymore :-)

The mozilla package unfortunately has #260857 open, but if you fix the
script by hand it works like a charm. 

Greetings
Frederik Schueler

-- 
ENOSIG




Re: Problem with libstdc++

2004-07-22 Thread Kurt Roeckx
On Thu, Jul 22, 2004 at 02:12:55PM +0200, Andreas Richter wrote:
> Hi,
> 
> since my last apt-get update && upgrade (yesterday) i have some problems
> to compile programms against libstdc++. the following error occour:
> 
> /usr/bin/ld: /usr/lib/gcc-lib/x86_64-linux/3.3.4/libstdc++.a(ios.o):
> relocation R_X86_64_32S can not be used when making a shared object;
> recompile with -fPIC
> /usr/lib/gcc-lib/x86_64-linux/3.3.4/libstdc++.a: could not read symbols:
> Bad value
> collect2: ld returned 1 exit status

Upgrade your gcc-3.3 to 3.3.4-5.  The 3.3.4-4 has the symlink
wrong.


Kurt




Re: Problem with libstdc++

2004-07-22 Thread Andreas Richter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andreas Knüpfer wrote:
| hi,
|
| i experienced the same problems today. the linker tries to link to the
static
| lib *.a because the dynamic version *.so is a dangling link (at least
on my
| box)
| i solved this issue by linking it explicitly to
/usr/lib/libstdc++.so.X where
| X=5 for the g++-3.3.4 and X=6 for g++3.4
|
| hth, knue
|
It seems that a never gcc & libstdc++-packages solved that problem. an
apt-get update && upgrade and it works again :)
- --
Greetings / Gruss
Andreas Richterhttp://www.oszine.de
GPG-KeyID0x7BA12DD9
Fingerprint   D2E9 202B F4F0 EB16 25DE 5FF7 0CF2 3C57 7BA1 2DD9
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFA/7zeDPI8V3uhLdkRAudqAKCqZC4WJHnyjq8qFDs2ZZZex3A5oACfeXVJ
+MaDRs9IN6KEGMZkl+xfIGc=
=UAKi
-END PGP SIGNATURE-



Re: Problem with libstdc++

2004-07-22 Thread Andreas Knüpfer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hi,

i experienced the same problems today. the linker tries to link to the static 
lib *.a because the dynamic version *.so is a dangling link (at least on my 
box)
i solved this issue by linking it explicitly to /usr/lib/libstdc++.so.X where 
X=5 for the g++-3.3.4 and X=6 for g++3.4

hth, knue


On Thursday 22 July 2004 14:12, Andreas Richter wrote:
> Hi,
>
> since my last apt-get update && upgrade (yesterday) i have some problems
> to compile programms against libstdc++. the following error occour:
>
> /usr/bin/ld: /usr/lib/gcc-lib/x86_64-linux/3.3.4/libstdc++.a(ios.o):
> relocation R_X86_64_32S can not be used when making a shared object;
> recompile with -fPIC
> /usr/lib/gcc-lib/x86_64-linux/3.3.4/libstdc++.a: could not read symbols:
> Bad value
> collect2: ld returned 1 exit status
>
> Can anybody tell me, what can i do to solve the problem? Is the
> libstdc++ not compiled with -fPIC? And when, why?
>
>
> --
> Greetings / Gruss
> Andreas Richterhttp://www.oszine.de
> GPG-KeyID0x7BA12DD9
> Fingerprint   D2E9 202B F4F0 EB16 25DE 5FF7 0CF2 3C57 7BA1 2DD9

- -- 
Dipl. Math. Andreas Knuepfer
ZHR - Center for High Performance Computing, TU Dresden
Hans-Grundig-Strasse 25, R 311, 01062 Dresden, 
phone +49-351-463-39280, fax +49-351-463-38245
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA/7Wk4TR4gVE/spsRAl1qAJ9AKAOB4hQtU049rdRroe/AvcZBJQCfb1cZ
5doSWlLnOWKFlE833zxFsJ4=
=Ap1H
-END PGP SIGNATURE-




Re: Problem with libstdc++

2004-07-22 Thread Andreas Knüpfer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hi,

i experienced the same problems today. the linker tries to link to the static
lib *.a because the dynamic version *.so is a dangling link (at least on my
box)
i solved this issue by linking it explicitly to /usr/lib/libstdc++.so.X where
X=5 for the g++-3.3.4 and X=6 for g++3.4

hth, knue

On Thursday 22 July 2004 14:12, Andreas Richter wrote:
> Hi,
>
> since my last apt-get update && upgrade (yesterday) i have some problems
> to compile programms against libstdc++. the following error occour:
>
> /usr/bin/ld: /usr/lib/gcc-lib/x86_64-linux/3.3.4/libstdc++.a(ios.o):
> relocation R_X86_64_32S can not be used when making a shared object;
> recompile with -fPIC
> /usr/lib/gcc-lib/x86_64-linux/3.3.4/libstdc++.a: could not read symbols:
> Bad value
> collect2: ld returned 1 exit status
>
> Can anybody tell me, what can i do to solve the problem? Is the
> libstdc++ not compiled with -fPIC? And when, why?
>
>
> --
> Greetings / Gruss
> Andreas Richterhttp://www.oszine.de
> GPG-KeyID0x7BA12DD9
> Fingerprint   D2E9 202B F4F0 EB16 25DE 5FF7 0CF2 3C57 7BA1 2DD9
- --
Dipl. Math. Andreas Knuepfer
ZHR - Center for High Performance Computing, TU Dresden
Hans-Grundig-Strasse 25, R 311, 01062 Dresden,
phone +49-351-463-39280, fax +49-351-463-38245
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA/7s94TR4gVE/spsRAtYfAJ9PiUT0t9XsfEtmgUydRMamvxoN1ACg7J3Y
WFMtLox53VENwy7tz45BgE0=
=1N1c
-END PGP SIGNATURE-




Re: Problem with libstdc++

2004-07-22 Thread Andreas Jochens
On 04-Jul-22 14:39, Andreas Richter wrote:
> g++  -Wl,-rpath-link,/home/ar/src/opie/host/head/opie/lib
> - -Wl,-rpath,/home/ar/src/opie/host/qte/lib -shared
> - -Wl,-soname,libaqpkg.so.1
> - -Wl,-rpath,/home/ar/src/opie/host/head/opie/plugins/application -o
> libaqpkg.so.1.0.0 .obj/x86-linux/mainwin.o .obj/x86-linux/datamgr.o
> .obj/x86-linux/mem.o .obj/x86-linux/settingsimpl.o .obj/x86-linux/ipkg.o
> .obj/x86-linux/main.o .obj/x86-linux/packagewin.o
> .obj/x86-linux/package.o .obj/x86-linux/installdlgimpl.o
> .obj/x86-linux/instoptionsimpl.o .obj/x86-linux/destination.o
> .obj/x86-linux/utils.o .obj/x86-linux/server.o
> .obj/x86-linux/letterpushbutton.o .obj/x86-linux/inputdlg.o
> .obj/x86-linux/version.o .obj/x86-linux/categoryfilterimpl.o
> .obj/x86-linux/moc_mainwin.o .obj/x86-linux/moc_datamgr.o
> .obj/x86-linux/moc_settingsimpl.o .obj/x86-linux/moc_ipkg.o
> .obj/x86-linux/moc_packagewin.o .obj/x86-linux/moc_installdlgimpl.o
> .obj/x86-linux/moc_instoptionsimpl.o
> .obj/x86-linux/moc_letterpushbutton.o .obj/x86-linux/moc_inputdlg.o
> .obj/x86-linux/moc_categoryfilterimpl.o
> - -L/home/ar/src/opie/host/qte/lib  -lqpe -lopiecore2 -lopieui2 -lstdc++
> - -L/home/ar/src/opie/host/head/opie/lib -lqte

Does it work if you just remove the '-lstdc++' from the command line?

Regards
Andreas Jochens




Re: Problem with libstdc++

2004-07-22 Thread Andreas Richter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Harald Dunkel wrote:
| Did you note that you are using the static libstdc++.a ?
| Would you mind to mail the command line?
Hm. Why it use the static one? Odd. Here the command line:
g++  -Wl,-rpath-link,/home/ar/src/opie/host/head/opie/lib
- -Wl,-rpath,/home/ar/src/opie/host/qte/lib -shared
- -Wl,-soname,libaqpkg.so.1
- -Wl,-rpath,/home/ar/src/opie/host/head/opie/plugins/application -o
libaqpkg.so.1.0.0 .obj/x86-linux/mainwin.o .obj/x86-linux/datamgr.o
.obj/x86-linux/mem.o .obj/x86-linux/settingsimpl.o .obj/x86-linux/ipkg.o
.obj/x86-linux/main.o .obj/x86-linux/packagewin.o
.obj/x86-linux/package.o .obj/x86-linux/installdlgimpl.o
.obj/x86-linux/instoptionsimpl.o .obj/x86-linux/destination.o
.obj/x86-linux/utils.o .obj/x86-linux/server.o
.obj/x86-linux/letterpushbutton.o .obj/x86-linux/inputdlg.o
.obj/x86-linux/version.o .obj/x86-linux/categoryfilterimpl.o
.obj/x86-linux/moc_mainwin.o .obj/x86-linux/moc_datamgr.o
.obj/x86-linux/moc_settingsimpl.o .obj/x86-linux/moc_ipkg.o
.obj/x86-linux/moc_packagewin.o .obj/x86-linux/moc_installdlgimpl.o
.obj/x86-linux/moc_instoptionsimpl.o
.obj/x86-linux/moc_letterpushbutton.o .obj/x86-linux/moc_inputdlg.o
.obj/x86-linux/moc_categoryfilterimpl.o
- -L/home/ar/src/opie/host/qte/lib  -lqpe -lopiecore2 -lopieui2 -lstdc++
- -L/home/ar/src/opie/host/head/opie/lib -lqte
- --
Greetings / Gruss
Andreas Richterhttp://www.oszine.de
GPG-KeyID0x7BA12DD9
Fingerprint   D2E9 202B F4F0 EB16 25DE 5FF7 0CF2 3C57 7BA1 2DD9
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFA/7WGDPI8V3uhLdkRAhVAAKC+d0+zyNZDTJiQ4I6+YzNKmuTukQCg6uUl
m0cHntVgwPQKpBgIOwSPuXc=
=fW/W
-END PGP SIGNATURE-



Re: Problem with libstdc++

2004-07-22 Thread Harald Dunkel
Andreas Richter wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
since my last apt-get update && upgrade (yesterday) i have some problems
to compile programms against libstdc++. the following error occour:
/usr/bin/ld: /usr/lib/gcc-lib/x86_64-linux/3.3.4/libstdc++.a(ios.o):
relocation R_X86_64_32S can not be used when making a shared object;
recompile with -fPIC
/usr/lib/gcc-lib/x86_64-linux/3.3.4/libstdc++.a: could not read symbols:
Bad value
collect2: ld returned 1 exit status
Can anybody tell me, what can i do to solve the problem? Is the
libstdc++ not compiled with -fPIC? And when, why?
Did you note that you are using the static libstdc++.a ?
Would you mind to mail the command line?
Regards
Harri



Problem with libstdc++

2004-07-22 Thread Andreas Richter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
since my last apt-get update && upgrade (yesterday) i have some problems
to compile programms against libstdc++. the following error occour:
/usr/bin/ld: /usr/lib/gcc-lib/x86_64-linux/3.3.4/libstdc++.a(ios.o):
relocation R_X86_64_32S can not be used when making a shared object;
recompile with -fPIC
/usr/lib/gcc-lib/x86_64-linux/3.3.4/libstdc++.a: could not read symbols:
Bad value
collect2: ld returned 1 exit status
Can anybody tell me, what can i do to solve the problem? Is the
libstdc++ not compiled with -fPIC? And when, why?
- --
Greetings / Gruss
Andreas Richterhttp://www.oszine.de
GPG-KeyID0x7BA12DD9
Fingerprint   D2E9 202B F4F0 EB16 25DE 5FF7 0CF2 3C57 7BA1 2DD9
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFA/69HDPI8V3uhLdkRAkgsAKCTI//XmRSKM6/K7g0GZr9BAJWI5QCg6ALE
V7qxD/nfSsXeYDEG4/Rs+LQ=
=hgro
-END PGP SIGNATURE-