Which Makefile are you trying to use? There isn't one specifically written for linux--so any one that you use, you are going to have to modify to add gcc specific flags.

Which style of module are you trying to write (loadable/inboard/outboard)?

David

I have installed opendx 4.3.2 in a PC running Fedora core 1.
When I try to add the "Hello Module" I get the following
error message during the compilation:

make hello
/usr/bin/gcc -I/usr/local/dx/include/  -Wall  -I/usr/X11R6/include -
D_GNU_SOURCE  userhello.c hello.c -L/usr/local/dx/lib_linux -lDX -lnsl -lXpm -
ldl
-lXm -lXp -lGLU -lGL -L/usr/local/lib -L/usr/X11R6/lib -L/usr/lib -lMagick -
ltiff -lfreetype -ljpeg -lpng -ldpstk -ldps -lXt -lXext -lSM -lICE -lX11
-lbz2 -lxml2 -lz -lpthread -lm -L/usr/local/dx/lib_linux -lDXlite  -o dxexec
/usr/local/dx/lib_linux/libDXlite.a(lbmessage.o)(.text+0x599): In function
`DXPrintError':
/home/dthompsn/dx/dx-4.3.2/src/exec/libdx/lbmessage.c:322: warning:
`sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../crt1.o(.text+0x18): In
function `_start':
: undefined reference to `main'
/tmp/cc38by4v.o(.text+0x1a): In function `_dxf_user_modules':
: undefined reference to `m_AmbientLight'
/tmp/cc38by4v.o(.text+0x24): In function `_dxf_user_modules':
...
etc

I get the same error on the Linux Red Hat 9.0

Thanks for your attention !


--
.............................................................................
David L. Thompson                   Visualization and Imagery Solutions, Inc.
mailto:[EMAIL PROTECTED]    5515 Skyway Drive, Missoula, MT 59804
                                    Phone : (406)756-7472

Reply via email to