Compilation under Solaris 10 - linking problem

View: New views
5 Messages — Rating Filter:   Alert me  

Compilation under Solaris 10 - linking problem

by Bugzilla from atanasb@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hello,


Congratulations for the great product. However I have problems compiling it on Solaris 10 (x86), gcc 3.4.4 - I get linker error - a long list with objects ending with


"ld: fatal: relocations remain against allocatable but non-writable sections"


Full output is attached.


I tried changing the linker to the ones in /usr/ccs/bin , /usr/ucb , /usr/sfw/i386-sun-solaris2.10/bin but nothing changed.


Can you please help me with this?


Thanks in advance.


Regards,


Atanas Bombov




_______________________________________________
Xnee-devel mailing list
Xnee-devel@...
http://lists.gnu.org/mailman/listinfo/xnee-devel

xnee-sol10.txt.zip (49K) Download Attachment

Re: Compilation under Solaris 10 - linking problem

by Henrik Sandklef-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The tests fail. Not good but can be ignored. To work around it, try doing:



  cd libxnee ; make   # this will fail again
  make install        # Hopefully works

  cd ..
  cd cnee
  make
  make install

  cd ..
  cd gnee
  make
  make install

  cd ..
  cd pnee
  make
  make install




/hesa


Atanas Atanasov Bombov wrote:

> Hello,
>
> Congratulations for the great product. However I have problems compiling it on Solaris 10 (x86), gcc
> 3.4.4 - I get linker error - a long list with objects ending with
>
>  "ld: fatal: relocations remain against allocatable but non-writable sections"
>
> Full output is attached.
>
> I tried changing the linker to the ones in /usr/ccs/bin , /usr/ucb , /usr/sfw/i386-sun-
> solaris2.10/bin but nothing changed.
>
> Can you please help me with this?
>
> Thanks in advance.
>
> Regards,
>
> Atanas Bombov
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Xnee-devel mailing list
> Xnee-devel@...
> http://lists.gnu.org/mailman/listinfo/xnee-devel



_______________________________________________
Xnee-devel mailing list
Xnee-devel@...
http://lists.gnu.org/mailman/listinfo/xnee-devel

cnee crash on Solaris 10

by Bugzilla from atanasb@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi,


I tested cnee on Solaris but it crashes, here's 2 gdb core outputs:


gdb /usr/local/bin/cnee ~/core
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-pc-solaris2.8"...
Reading symbols from /usr/openwin/lib/libX11.so.4...done.
Loaded symbols for /usr/openwin/lib/libX11.so.4
Reading symbols from /usr/openwin/lib/libXtst.so.1...done.
Loaded symbols for /usr/openwin/lib/libXtst.so.1
Reading symbols from /usr/lib/libc.so.1...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/lib/libsocket.so.1...done.
Loaded symbols for /usr/lib/libsocket.so.1
Reading symbols from /usr/lib/libnsl.so.1...done.
Loaded symbols for /usr/lib/libnsl.so.1
Reading symbols from /lib/ld.so.1...done.
Loaded symbols for /lib/ld.so.1
Core was generated by `cnee --record --mouse --keyboard -o /tmp/xnee.xns -e /tmp/xnee.log -v'.
Program terminated with signal 11, Segmentation fault.
#0 0xfed3590c in strlen () from /usr/lib/libc.so.1
(gdb) bt
#0 0xfed3590c in strlen () from /usr/lib/libc.so.1
#1 0xfed8eda6 in _ndoprnt () from /usr/lib/libc.so.1
#2 0xfed91cf0 in vfprintf () from /usr/lib/libc.so.1
#3 0x0805c190 in xnee_verbosef (xd=0x808ed78, msg=0x8071413 "Looking for %d ===> %d '%s'\n") at print_varargs.c:58
#4 0x08062771 in xnee_key2string (xd=0x808ed78, options=0x8085520, key=44) at xnee_resource.c:920
#5 0x0805bb3b in xnee_print_xnee_settings (xd=0x808ed78, out=0x808e5d0) at print.c:1579
#6 0x08059a27 in xnee_start (xd=0x808ed78) at xnee.c:138
#7 0x08058e97 in main (argc=9, argv=0x8046914) at main.c:103





gdb /usr/local/bin/cnee ~/core
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-pc-solaris2.8"...
Reading symbols from /usr/openwin/lib/libX11.so.4...done.
Loaded symbols for /usr/openwin/lib/libX11.so.4
Reading symbols from /usr/openwin/lib/libXtst.so.1...done.
Loaded symbols for /usr/openwin/lib/libXtst.so.1
Reading symbols from /usr/lib/libc.so.1...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/lib/libsocket.so.1...done.
Loaded symbols for /usr/lib/libsocket.so.1
Reading symbols from /usr/lib/libnsl.so.1...done.
Loaded symbols for /usr/lib/libnsl.so.1
Reading symbols from /usr/openwin/lib/libXext.so.0...done.
Loaded symbols for /usr/openwin/lib/libXext.so.0
Reading symbols from /lib/ld.so.1...done.
Loaded symbols for /lib/ld.so.1
Core was generated by `cnee --record --mouse --keyboard -o /tmp/xnee.xns'.
Program terminated with signal 11, Segmentation fault.
#0 0xfed3590c in strlen () from /usr/lib/libc.so.1
(gdb) bt
#0 0xfed3590c in strlen () from /usr/lib/libc.so.1
#1 0xfed8eda6 in _ndoprnt () from /usr/lib/libc.so.1
#2 0xfed9192d in fprintf () from /usr/lib/libc.so.1
#3 0x0805bbcc in xnee_print_xnee_settings (xd=0x808ed78, out=0x808e5d0) at print.c:1594
#4 0x08059a8b in xnee_start (xd=0x808ed78) at xnee.c:158
#5 0x08058e97 in main (argc=6, argv=0x8046934) at main.c:103



On Saturday 16 May 2009 10:17:04 you wrote:
> The tests fail. Not good but can be ignored. To work around it, try doing:
>
>
>
> cd libxnee ; make # this will fail again
> make install # Hopefully works
>
> cd ..
> cd cnee
> make
> make install
>
> cd ..
> cd gnee
> make
> make install
>
> cd ..
> cd pnee
> make
> make install
>
>
>
>
> /hesa
>
> Atanas Atanasov Bombov wrote:
> > Hello,
> >
> > Congratulations for the great product. However I have problems compiling
> > it on Solaris 10 (x86), gcc 3.4.4 - I get linker error - a long list with
> > objects ending with
> >
> > "ld: fatal: relocations remain against allocatable but non-writable
> > sections"
> >
> > Full output is attached.
> >
> > I tried changing the linker to the ones in /usr/ccs/bin , /usr/ucb ,
> > /usr/sfw/i386-sun- solaris2.10/bin but nothing changed.
> >
> > Can you please help me with this?
> >
> > Thanks in advance.
> >
> > Regards,
> >
> > Atanas Bombov
> >
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Xnee-devel mailing list
> > Xnee-devel@...
> > http://lists.gnu.org/mailman/listinfo/xnee-devel



_______________________________________________
Xnee-devel mailing list
Xnee-devel@...
http://lists.gnu.org/mailman/listinfo/xnee-devel

Parent Message unknown Re: Compilation under Solaris 10 - linking problem

by Henrik Sandklef-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Atanas Atanasov Bombov wrote:
> Hi,
>
> Thanks for your reply. Is there no xnee binary available for Solaris?

Don't know

> Nothing on sunfreeware.com and
> blastwave.com , nor google found any references to a solaris binary ...
>
> Here's the result of what you adviced me:
>
> On Saturday 16 May 2009 10:17:04 you wrote:
>> The tests fail. Not good but can be ignored. To work around it, try doing:
>>
>>
>>
>>   cd libxnee ; make   # this will fail again
>>   make install        # Hopefully works
>>
> No, fails again with the same output:
> ld: fatal: relocations remain against allocatable but non-writable sections

ok

Will perhaps add a "disable test" flag to the configure script.

>>   cd ..
>>   cd cnee
>>   make
>>   make install
> Success!!! This may suffice, I only need comman line :)


Ahhhhh, then

Check the configure flags

  --enable-gui       build the GUI frontend to Xnee
  --enable-gnome-applet   build the Gnome Panel frontend to Xnee
  --enable-doc       (re)build Xnee documentation

so, this will solve it (I hope)

  ./configure --disable-gui --disable-gnome-applet --disable-doc


... but this is perhaps irrelevent, since it worked out.


 /h


_______________________________________________
Xnee-devel mailing list
Xnee-devel@...
http://lists.gnu.org/mailman/listinfo/xnee-devel

Re: cnee crash on Solaris 10

by Henrik Sandklef-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Can you check the latest CVS dist in some 24 hours?

  http://itupw056.itu.chalmers.se/xnee/nightly-dists/


there should be a new dist called up by then

http://itupw056.itu.chalmers.se/xnee/nightly-dists/xnee-cvs-20090521.tar.gz



/h

Atanas Atanasov Bombov wrote:

> Hi,
>
> I tested cnee on Solaris but it crashes, here's 2 gdb core outputs:
>
> gdb /usr/local/bin/cnee ~/core
> GNU gdb 6.6
> Copyright (C) 2006 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "i386-pc-solaris2.8"...
> Reading symbols from /usr/openwin/lib/libX11.so.4...done.
> Loaded symbols for /usr/openwin/lib/libX11.so.4
> Reading symbols from /usr/openwin/lib/libXtst.so.1...done.
> Loaded symbols for /usr/openwin/lib/libXtst.so.1
> Reading symbols from /usr/lib/libc.so.1...done.
> Loaded symbols for /usr/lib/libc.so.1
> Reading symbols from /usr/lib/libsocket.so.1...done.
> Loaded symbols for /usr/lib/libsocket.so.1
> Reading symbols from /usr/lib/libnsl.so.1...done.
> Loaded symbols for /usr/lib/libnsl.so.1
> Reading symbols from /lib/ld.so.1...done.
> Loaded symbols for /lib/ld.so.1
> Core was generated by `cnee --record --mouse --keyboard -o /tmp/xnee.xns -e /tmp/xnee.log -v'.
> Program terminated with signal 11, Segmentation fault.
> #0  0xfed3590c in strlen () from /usr/lib/libc.so.1
> (gdb) bt
> #0  0xfed3590c in strlen () from /usr/lib/libc.so.1
> #1  0xfed8eda6 in _ndoprnt () from /usr/lib/libc.so.1
> #2  0xfed91cf0 in vfprintf () from /usr/lib/libc.so.1
> #3  0x0805c190 in xnee_verbosef (xd=0x808ed78, msg=0x8071413 "Looking for %d ===> %d  '%s'\n") at
> print_varargs.c:58
> #4  0x08062771 in xnee_key2string (xd=0x808ed78, options=0x8085520, key=44) at xnee_resource.c:920
> #5  0x0805bb3b in xnee_print_xnee_settings (xd=0x808ed78, out=0x808e5d0) at print.c:1579
> #6  0x08059a27 in xnee_start (xd=0x808ed78) at xnee.c:138
> #7  0x08058e97 in main (argc=9, argv=0x8046914) at main.c:103
>
>
>
>
> gdb /usr/local/bin/cnee ~/core
> GNU gdb 6.6
> Copyright (C) 2006 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "i386-pc-solaris2.8"...
> Reading symbols from /usr/openwin/lib/libX11.so.4...done.
> Loaded symbols for /usr/openwin/lib/libX11.so.4
> Reading symbols from /usr/openwin/lib/libXtst.so.1...done.
> Loaded symbols for /usr/openwin/lib/libXtst.so.1
> Reading symbols from /usr/lib/libc.so.1...done.
> Loaded symbols for /usr/lib/libc.so.1
> Reading symbols from /usr/lib/libsocket.so.1...done.
> Loaded symbols for /usr/lib/libsocket.so.1
> Reading symbols from /usr/lib/libnsl.so.1...done.
> Loaded symbols for /usr/lib/libnsl.so.1
> Reading symbols from /usr/openwin/lib/libXext.so.0...done.
> Loaded symbols for /usr/openwin/lib/libXext.so.0
> Reading symbols from /lib/ld.so.1...done.
> Loaded symbols for /lib/ld.so.1
> Core was generated by `cnee --record --mouse --keyboard -o /tmp/xnee.xns'.
> Program terminated with signal 11, Segmentation fault.
> #0  0xfed3590c in strlen () from /usr/lib/libc.so.1
> (gdb) bt
> #0  0xfed3590c in strlen () from /usr/lib/libc.so.1
> #1  0xfed8eda6 in _ndoprnt () from /usr/lib/libc.so.1
> #2  0xfed9192d in fprintf () from /usr/lib/libc.so.1
> #3  0x0805bbcc in xnee_print_xnee_settings (xd=0x808ed78, out=0x808e5d0) at print.c:1594
> #4  0x08059a8b in xnee_start (xd=0x808ed78) at xnee.c:158
> #5  0x08058e97 in main (argc=6, argv=0x8046934) at main.c:103
>
>
> On Saturday 16 May 2009 10:17:04 you wrote:
>> The tests fail. Not good but can be ignored. To work around it, try doing:
>>
>>
>>
>>   cd libxnee ; make   # this will fail again
>>   make install        # Hopefully works
>>
>>   cd ..
>>   cd cnee
>>   make
>>   make install
>>
>>   cd ..
>>   cd gnee
>>   make
>>   make install
>>
>>   cd ..
>>   cd pnee
>>   make
>>   make install
>>
>>
>>
>>
>> /hesa
>>
>> Atanas Atanasov Bombov wrote:
>>> Hello,
>>>
>>> Congratulations for the great product. However I have problems compiling
>>> it on Solaris 10 (x86), gcc 3.4.4 - I get linker error - a long list with
>>> objects ending with
>>>
>>>  "ld: fatal: relocations remain against allocatable but non-writable
>>> sections"
>>>
>>> Full output is attached.
>>>
>>> I tried changing the linker to the ones in /usr/ccs/bin , /usr/ucb ,
>>> /usr/sfw/i386-sun- solaris2.10/bin but nothing changed.
>>>
>>> Can you please help me with this?
>>>
>>> Thanks in advance.
>>>
>>> Regards,
>>>
>>> Atanas Bombov
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Xnee-devel mailing list
>>> Xnee-devel@...
>>> http://lists.gnu.org/mailman/listinfo/xnee-devel
>
>



_______________________________________________
Xnee-devel mailing list
Xnee-devel@...
http://lists.gnu.org/mailman/listinfo/xnee-devel