Hello, Folks:
I am trying to compile, or call, FORTRAN modules with respect to sm. I have successfully (?) installed sm on a Fedora 12 64-bit system using instructions given here (http://www.supermongo.net/compiling-with-linux-kernel-26-fc10). This seemingly allowed sm to compile and install.
I am now trying to compile a progam using sm. The command is:
gfortran -o tastrom tastrom.f -lplotsub -ldevices -lutils -lsla_f -L/usr/local/lib -L/usr/X11R6/lib -lX11
This gives errors such as:
/tmp/ccSKiVDt.o: In function `MAIN__':
tastrom.f:(.text+0x10c6): undefined reference to `sm_device_'
tastrom.f:(.text+0x1113): undefined reference to `sm_graphics_'
tastrom.f:(.text+0x1131): undefined reference to `sm_limits_'
tastrom.f:(.text+0x1191): undefined reference to `sm_erase_'
tastrom.f:(.text+0x121c): undefined reference to `sm_curs_'
tastrom.f:(.text+0x12bf): undefined reference to `sm_erase_'
tastrom.f:(.text+0x1405): undefined reference to `sm_erase_'
tastrom.f:(.text+0x159d): undefined reference to `sm_erase_'
tastrom.f:(.text+0x16a9): undefined reference to `sm_erase_'
/tmp/ccSKiVDt.o: In function `doplot_':
tastrom.f:(.text+0x31dd): undefined reference to `sm_ctype_'
tastrom.f:(.text+0x31f1): undefined reference to `sm_grelocate_'
tastrom.f:(.text+0x3205): undefined reference to `sm_label_'
tastrom.f:(.text+0x3223): undefined reference to `sm_box_'
tastrom.f:(.text+0x3237): undefined reference to `sm_xlabel_'
tastrom.f:(.text+0x324b): undefined reference to `sm_ylabel_'
tastrom.f:(.text+0x32bb): undefined reference to `sm_gflush_'
Now Ryan had a seemingly similar error here (http://www.supermongo.net/callable-supermongo) and a fix that seemed to indicate that gfortran appends a single underscore to functions, most others append two. He also said that options.h was set to follow along with two underscores by default, but checking my options.h that did not seem to be the case.
From options.h:
#define FORTRAN_APPEND _
Does anyone have any thoughts? I'm not sure where to go from here?
----
Doc Kinne (rkinne @ aavso.org)
AAVSO
Drupal theme provided by Danang Probo Sayekti.
Blu-ray Video Converter is a
Blu-ray Video Converter is a rather professional converter to rip blu-ray and complete blu-ray rip task.
iPad Converter Mac is a rather professional converter which is able to convert video to iPad mac and convert to iPad on mac os.
Convert Video to iPad Mac is a professional and excellent Mac iPad Converter designed only for Mac users.
AVI to iPad Converter Mac,
MKV to iPad Converter Mac,
MP4 to iPad Converter Mac ,
DVD to iPad Converter Mac,
MOV to iPad Converter Mac,
WMV to iPad Converter Mac,
MTS to iPad Converter Mac,
VOB to iPad Converter Mac,
iTunes to iPad Converter Mac,
Mac iPad Video Editing,
iPad File Manager Mac,
Convert PDF to ePub,
Video to iPad Converter,
YouTube to iPad Converter
The first of these is how
The first of these is how much the storage costs in dollars. The second is how much it costs in bandwidth. body armor
replica watches
breitling DVS has acknowledged Louis cartier Vuitton’s intellectual property rights and has agreed to tag heuer discontinue all manufacture,hublot exportation, importation, distribution, advertising and patek philippe marketing of said products.Latest: Supermodel Kate cartier watches Moss' lost luggage crisis has worsened - omega watches after it emerged British Airways misplaced a $20,000
rolex
fake watches (GBP10,000) birthday present for one of audemars piguet the star's pals.On arrival at Los Angeles' omega Lax airport on a flight from London, it was fake rolex discovered eight pieces of the catwalk beauty's breitling watches Louis Vuitton luggage had disappeared at replica watches Heathrow's new Terminal 5 building rolex .
Wish I have the luxury of
Wish I have the luxury of time to consider using the benefits these site can offer.....
anti aging products
He also said that options.h
He also said that options.h was set to follow along with two underscores by default, but checking my options.h that did not seem to be the case.
www.casinopilot.net
Microsoft's Zune HD is a
Microsoft's Zune HD is a touch screen MP3 player with Wi-Fi connectivity and access to Microsoft's online media store, which means in generalized terms that it's a Windows 7 Series phone without the phone capabilities. tactical gloves
rolex
Studio A's replica handbags Vivre With Attitude (VA) iPad Carry fake handbags All collection and edok's iPad bags louis vuitton handbags are for those
Best in Evening Gown and Best
This seemingly allowed sm to compile and install.canadian pharmacy online
Daniel Westling replica
Daniel Westling replica watches The couple will fake watches exchange vows in watches Stockholm Cathedral replica rolex on Saturday - the same cartier date as Victoria's father breitling King Carl XVI Gustaf
Stockholm has been replica
Stockholm has been replica watches dressed up in flowers replica flags and royal portraits tag heuer for the fairytale wedding fake rolex between Crown Princess rolex Victoria and gym owner
A free sex scandal is a
A free sex scandal is a scandal involving allegations (some times free porn videos) or information about possibly-immoral sexual activities being made public or posted at porn tube. Sex scandals are often associated with movie stars, politicians, famous athletes or others in the public eye, and become scandals largely because of the prominence of the person involved and/or non-normative nature of the sexuality and free sex videos. A scandal may be based on reality, the product of false allegations, or a mixture of both.
ABB728019389 порно видео
Wish I have the luxury of
Wish I have the luxury of time to consider using the benefits these site can offer.....
blackhawk holsters
Fixed!
I found that FORTRAN_APPEND is actually defined twice in options.h. Later on, toward the end of the file, we find this:
#if defined(linux)
# if !defined(unix)
# define unix
# endif
# define _POSIX_SOURCE 1
# define FORTRAN_APPEND __
# define HAVE_IOCTL_DEFN
# define FD_SET_H
#endif
Changing this to one underscore solved my problem.