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. Ultra 10 Vs Ultra 30
3. Wingz add-ins - how to write
4. RCS for PC/MS-DOS?
5. Netscape Communicator v4.04 will not die!!
6. sybperl with Apache on UNIX
7. Communicator connection won't die
8. modprobe: can't locate module net-pf-4
9. PC-NFS, printing, bannerpage. die.die.die
10. Zombie die die die
11. /ethan die,die,die
12. minicom - dies when adding 2nd phone number
13. ppp died after adding masquerading