Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
March 30, 2013 Error on compiling Snippet32 | ||||
---|---|---|---|---|
| ||||
Fedora 18, x86_64 Building swtsnippets[Snippet32] cat /home/john/Git/dwt/rsp | xargs dmd /usr/bin/ld: /home/john/Git/dwt/lib/org.eclipse.swt.gtk.linux.x86.a(org-eclipse-swt-program-Program.o): undefined reference to symbol 'gnome_vfs_init' /usr/bin/ld: note: 'gnome_vfs_init' is defined in DSO /lib/libgnomevfs-2.so.0 so try adding it to the linker command line /lib/libgnomevfs-2.so.0: could not read symbols: Invalid operation As you've probably guessed from the small cluster of pull requests, I've been trying to get DWT to work properly with dmd git master. Hopefully this is the last hurdle, but I have no clue how to get over it. |
March 30, 2013 Re: Error on compiling Snippet32 | ||||
---|---|---|---|---|
| ||||
Posted in reply to John Colvin | On 2013-03-30 02:40, John Colvin wrote: > Fedora 18, x86_64 > > Building swtsnippets[Snippet32] > cat /home/john/Git/dwt/rsp | xargs dmd > /usr/bin/ld: > /home/john/Git/dwt/lib/org.eclipse.swt.gtk.linux.x86.a(org-eclipse-swt-program-Program.o): > undefined reference to symbol 'gnome_vfs_init' > /usr/bin/ld: note: 'gnome_vfs_init' is defined in DSO > /lib/libgnomevfs-2.so.0 so try adding it to the linker command line > /lib/libgnomevfs-2.so.0: could not read symbols: Invalid operation > > > As you've probably guessed from the small cluster of pull requests, I've > been trying to get DWT to work properly with dmd git master. Hopefully > this is the last hurdle, but I have no clue how to get over it. Unfortunately my virtual machines aren't currently working (running Mac OS X). I can see if I can get them up an running again, otherwise it will be quite hard for me to help solve this. -- /Jacob Carlborg |
April 04, 2013 Re: Error on compiling Snippet32 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | On Saturday, 30 March 2013 at 11:14:11 UTC, Jacob Carlborg wrote:
> On 2013-03-30 02:40, John Colvin wrote:
>> Fedora 18, x86_64
>>
>> Building swtsnippets[Snippet32]
>> cat /home/john/Git/dwt/rsp | xargs dmd
>> /usr/bin/ld:
>> /home/john/Git/dwt/lib/org.eclipse.swt.gtk.linux.x86.a(org-eclipse-swt-program-Program.o):
>> undefined reference to symbol 'gnome_vfs_init'
>> /usr/bin/ld: note: 'gnome_vfs_init' is defined in DSO
>> /lib/libgnomevfs-2.so.0 so try adding it to the linker command line
>> /lib/libgnomevfs-2.so.0: could not read symbols: Invalid operation
>>
>>
>> As you've probably guessed from the small cluster of pull requests, I've
>> been trying to get DWT to work properly with dmd git master. Hopefully
>> this is the last hurdle, but I have no clue how to get over it.
>
> Unfortunately my virtual machines aren't currently working (running Mac OS X). I can see if I can get them up an running again, otherwise it will be quite hard for me to help solve this.
Any luck?
|
April 05, 2013 Re: Error on compiling Snippet32 | ||||
---|---|---|---|---|
| ||||
Posted in reply to John Colvin | On 2013-04-04 19:25, John Colvin wrote: > Any luck? Sorry, I forgot about this. I'll give it a shot this weekend. -- /Jacob Carlborg |
April 07, 2013 Re: Error on compiling Snippet32 | ||||
---|---|---|---|---|
| ||||
Posted in reply to John Colvin | On 2013-04-04 19:25, John Colvin wrote: > Any luck? Ok, I've been able to boot my virtual machines again. Unfortunately I had installed Debian 64bit and I can't find any 32bit packages for the required libraries. I'm going to install a 32bit version now. -- /Jacob Carlborg |
April 07, 2013 Re: Error on compiling Snippet32 | ||||
---|---|---|---|---|
| ||||
Posted in reply to John Colvin | On 2013-03-30 02:40, John Colvin wrote: > Fedora 18, x86_64 > > Building swtsnippets[Snippet32] > cat /home/john/Git/dwt/rsp | xargs dmd > /usr/bin/ld: > /home/john/Git/dwt/lib/org.eclipse.swt.gtk.linux.x86.a(org-eclipse-swt-program-Program.o): > undefined reference to symbol 'gnome_vfs_init' > /usr/bin/ld: note: 'gnome_vfs_init' is defined in DSO > /lib/libgnomevfs-2.so.0 so try adding it to the linker command line > /lib/libgnomevfs-2.so.0: could not read symbols: Invalid operation > > > As you've probably guessed from the small cluster of pull requests, I've > been trying to get DWT to work properly with dmd git master. Hopefully > this is the last hurdle, but I have no clue how to get over it. I have been able to get a VM now that can compile DWT. I've tried DMD from master (a few days old) and I don't get any linker errors, that snippet runs fine. I'm using latest Debian 32bit. Have you tried linking with libgnomevfs-2? You can add it to the array here: https://github.com/d-widget-toolkit/dwt/blob/master/build.d#L100 Also, make sure all libraries are 32bit. -- /Jacob Carlborg |
Copyright © 1999-2021 by the D Language Foundation