XForms: compiling errors

Chris S Bullock (sabo@mindspring.com)
Sat, 23 Aug 1997 15:38:14 -0400

To subscribers of the xforms list from Chris S Bullock <sabo@mindspring.com> :

This is a multi-part message in MIME format.

--------------5E0DFC2D7D9BE07A31E1EA33
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I have been making a shell program that will help me compile programs
that use the xforms library. Everytime I try to compile the program
though it gives me an error that follows:

In function main
undefined reference to 'create_form_interval

When I compile the program by typing the commands in manually, it
compiles ok. Can anyone help. I have attached two files. one the shell
and the other are the files that make up the interval program. Thanks in
advance for any help.
Chris S Bullock

--------------5E0DFC2D7D9BE07A31E1EA33
Content-Type: application/x-compress
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename="tick.tar.Z"

H52Qct68ofNiThk3ZF4AWMiwocOHECNKnEixYkUQNGDcqFEDBAAQIEHC8BhSJMmSKEeCsDHj
xg0bMGbI4AgyhsYbMT7WsMizp8+fQCHWmUMnjByQAAIODCpRKR2mUKNKnUq1qlWpTgseTEgn
zZg1LsZcHWvVJgwbNGicDDnyY8m2KEO6lAGS5VwYaXHWlBGDxo2PMMgKHiyUqFGkTq8mJsy4
sePHjV+oAGHkjZw2IMiUMZPGTZqub9yA4MymDIgzB8vICUOnDBkQdz6jGa15TpozblyAUPFC
gYIRncewqaMZhAgzltvMcYFGxO/gw4vzIEqGTRoxzH08dyOcuGkRXb8yd67ACJEvbVSf2T1G
ThnWZb4gv4xePQo7b9KQSaFgjwKQRjDxxRNCKFHEEFTs9oYYauzwH2XnpSfHeiqYQUYdaYDQ
AwgomFffhLulMBobX4wRBhtsvDEGCjGwAIJtepTxhhkoVHhhGimk4OCDFmLYgg8SrrehGSSK
gZt8yXUooBNPfCHEE1i4KBMMLs4Eg44PLqiGhiN+EQYZZHwhxht4KPlFFVA4CSULVFI5JQtW
siCCCFiC1GMaP6JRBopi0iHahlpySaSXYIpZBx10hGYmk1I0EYSAQlRBBRVPOMHCDVRiykIM
OFBplpxCHJqoG3Q6aCeJWyF5GQpY8njjj0H+eKegN+4Iknt01CGHaHc62IcCkrUg7LDEFmvs
scgOy5tvD2VlEEIvhAcWGpBVC5FZaKnlFltrmbQtSjPYVFdLN8iAVw0w7RVDS4BZ625QQxV1
lEeLVVXvu/jmqy9jwJmB0GYQfnjGF2h88ZtmnLlhmodBEmywb3TkAYdrABMlRx1j0AGCfwkE
+IURTzS6W5AOJoCffrvZQQZrYZScohvrsbFyUSV7TKCBCO6mJ59i+OlrwCT7VgYere0KtHq7
gdDee62p2obA9+W3344jbJWGGSBIdvSEDu/W275ghy322GSXbfbZaKet9tpst+3223DHLffc
dNdt991456333nz37fffgAcu+OCEF2744YgnrvjijDfu+OOQRy755JRXbvnlmGeu+eacd+75
56CHLvropJdu+umop6766qy37vrrsMcu++y012576Q==
--------------5E0DFC2D7D9BE07A31E1EA33
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="compile"

#!/bin/bash
echo
echo "This shell program helps compile programs that use the xforms library."
echo "The program will ask a series of questions. Each question has to be "
echo "answered. There are no defaults. This program will compile the files"
echo "that were generated by the fdesign program(two files)."
echo
echo "What is the name of the first file?(Please specify the absolute path) >"
read first
echo
echo "What is the name of the second file?(Please specify the absolute path) >"
read second
echo
echo "What do you want to call the executable file?(Please specify the absolute path) >"
read store
echo
echo "These are the values that you put in :"
echo "First File:" $first
echo "Second file:" $second
echo "Storage of executable:" $store
echo
echo "Are the values right?(y/n)"
read choice
if [ $choice = "y" ]; then
echo
echo "The program is getting ready to compile. The compiling of the"
echo "program can take several minutes. Please be patient."
echo
else
echo
echo "You have indicated that the values that you have entered are"
echo "wrong. Please restart the program: compile are re-eneter"
echo "the values."
echo
exit 1
fi

gcc -I/usr/X11R6/include -L/usr/X11R6/lib -lX11 -lm -lforms -i $first $second -o $store

echo "The compiling of the program is done. You can find the program at"
echo $store

--------------5E0DFC2D7D9BE07A31E1EA33--

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/