in reply to Getting a C library to compile into a Perl module...

I have tried linking the two libraries I think I need in with -lmyisam and -lmysys, and even including them directly with lib/libmysys.a lib/libmyisam.a, but I just get
gcc -I/idcom/tmp/mysql-4.0.12/include -Llib -lmyisam -lmysys lib/libmy +isam.a lib/libmysys.a test.c /var/tmp/cc7ojzF7.o: In function `main': /var/tmp/cc7ojzF7.o(.text+0xd4): undefined reference to `my_progname' /var/tmp/cc7ojzF7.o(.text+0xd8): undefined reference to `my_progname' /var/tmp/cc7ojzF7.o(.text+0xe8): undefined reference to `my_init' collect2: ld returned 1 exit status
even though those functions are defined in mysys

                - Ant
                - Some of my best work - (1 2 3)