Tiny Core Extensions > TCE Corepure64
How to build -dev extensions?
Juanito:
If /usr/local/include/spice exists, symlink that file into it.
If /usr/local/include/spice doesn't exist, symlink the folder /usr/local/include/spice-protocol/spice to /usr/local/include/spice
flyingfishfinger:
Had a wrong directory in the extension. Fixed it, still breaks at the same place though.
Now we are here:
--- Quote ---/usr/local/bin/ld: cannot find -lspice-server
collect2: error: ld returned 1 exit status
--- End quote ---
[/s]
IT BUILT! ....I didn't install the non-dev extension properly.
Ugh, I've got a bunch of dangling extensions with different names (how do you unload an extension properly if I updated it).
Thank you. I now know how to make -dev extensions as well as a lot of things I didn't want to know. I'll carry on in the qemu thread.
R
Juanito:
either /usr/local/lib/spice-server.so is not present or you need to issue the command "sudo ldconfig".
Juanito:
--- Quote from: flyingfishfinger on February 10, 2016, 02:13:45 AM ---how do you unload an extension properly if I updated it
--- End quote ---
You can't unload an extension, but you can overwrite it with something different - note that in most cases "sudo make install" will overwrite an existing loaded extension.
Note also, that if you place your updated extension in, for example, /mnt/sdb1/tce/optional/upgrade, it will replace your existing extension on the next reboot.
Navigation
[0] Message Index
[*] Previous page
Go to full version