1. Errors compiling Wingz 1.4 Add-ins (Linux 1.3.99, GCC 2.6)
I use the Wingz spreadsheet under a SunOs 4.1.3 at work, and am trying
to set up a similar environment on my Linux system. To do this I need
to compile Wingz external add-ins.
(Nice spreadsheet by the way. See the homepage at:
http://www.wingz.com/Welcome.html)
The problem is that I am unable to link after compiling. The add-in
code has no 'main', as it is in a file $WINGZ/lib/libwztools.a. On
SunOs, doing a:
gcc -O -I$(WINGZ)/include -c TestFunc.c -o TestFunc.o
gcc -O -I$(WINGZ)/include -o great_zot TestFunc.o \
-L$(WINGZ)/lib -lwztools -lm
works great, but under Linux the link fails with a message like:
/usr/lib/crt1.o (...) undefined symbol 'main'
'nm' shows 'main' as being defined in $WINGZ/lib/libwztools.a, so
I am at a loss to how to get this to compile.
Linux Kernel: 1.3.99
Wingz version: 1.4
GCC version: 2.6
Any hints would be greatly appreciated.
Shaun
----------------------------------------------------------------------
Shaun Lawson Tel: [+81]3-5571-7388
Assistant Vice Pres. WWW: http://www.atrium.com/shaun
2. script to separate characters of a line in a file
3. Communicator dies on add-ins
4. XFree86 3.1 and Diamond Viper VLB/CrystalScan prbs
5. Best way to write plug-ins?
7. patch 16/38: CLIENT: add ->setup_{write,commit}() for async write, part 1
8. Crashing X locks screen and keyboard
9. patch 17/38: CLIENT: add ->setup_{write,commit}() for async write, part 2
10. REPOST patch 15/38: CLIENT: add ->setup_{write,commit}() for async write, part 1
11. REPOST patch 16/38: CLIENT: add ->setup_{write,commit}() for async write, part 2
12. : adding counters to count bytes read/written
13. Permission Woes - can't add write permission