Share

Jaffer

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

How to Build On Leopard

You are viewing a single message from this topic. View all messages.

  1. 2008-10-10 19:32:11 UTC
    Leopard 10.5.5
    Darwin Kernel Version 9.5.0: Wed Sep 3 11:29:43 PDT 2008; root:xnu-1228.7.58~1/RELEASE_I386

    Building via make gives the following error. locate libMacOSX.so returns nothing.

    kevins-MacBook:Jaffer kevin$ make all
    mkdir -p obj/lib
    gcc -fPIC -dynamic -bundle \
    -o obj/lib/libMacOSX.so src/lib/OS_Server.c -Isrc/lib \
    -I/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers \
    -L/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Libraries \
    -ljvm -lpthread
    src/lib/OS_Server.c: In function ‘Java_com_neuron_jaffer_OS_1Server_validUser’:
    src/lib/OS_Server.c:20: warning: pointer targets in passing argument 1 of ‘getpwnam’ differ in signedness
    src/lib/OS_Server.c: In function ‘Java_com_neuron_jaffer_OS_1Server_validPassword’:
    src/lib/OS_Server.c:38: warning: pointer targets in passing argument 1 of ‘getpwnam’ differ in signedness
    src/lib/OS_Server.c: In function ‘Java_com_neuron_jaffer_OS_1Server_switchUser’:
    src/lib/OS_Server.c:62: warning: pointer targets in passing argument 1 of ‘getpwnam’ differ in signedness
    ld: library not found for -ljvm
    collect2: ld returned 1 exit status
    make: *** [lib-Darwin] Error 1
    kevins-MacBook:Jaffer kevin$



< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.