Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macos 10.13.3 build 2.2 error #23

Open
longkeyy opened this issue Mar 26, 2018 · 2 comments
Open

macos 10.13.3 build 2.2 error #23

longkeyy opened this issue Mar 26, 2018 · 2 comments

Comments

@longkeyy
Copy link

git clone https://github.com/jmk-foofus/medusa.git
cd medusa.git && git checkout 2.2
brew instal freerdp

./configure --enable-module-rdp=no --enable-module-ssh=yes --enable-module-svn=yes

make

/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive
Making all in src
Making all in modsrc
depbase=echo cvs.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/local/opt/openssl/include -g -O2 -Wno-deprecated-declarations -MT cvs.o -MD -MP -MF $depbase.Tpo -c -o cvs.o cvs.c &&
mv -f $depbase.Tpo $depbase.Po
depbase=echo ../medusa-trace.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/local/opt/openssl/include -g -O2 -Wno-deprecated-declarations -MT ../medusa-trace.o -MD -MP -MF $depbase.Tpo -c -o ../medusa-trace.o ../medusa-trace.c &&
mv -f $depbase.Tpo $depbase.Po
gcc -g -O2 -Wno-deprecated-declarations -fPIC -L/usr/local/lib -L/usr/local/opt/openssl/lib -L/usr/local/lib/freerdp -o cvs.mod cvs.o ../medusa-trace.o -lfreerdp -lwinpr -lfreerdp-client -laudin-client -ldisp-client -lecho-client -lrdpei-client -lrdpgfx-client -ltsmf-client -lcliprdr-client -ldrdynvc-client -lencomsp-client -lrail-client -lrdpdr-client -lrdpsnd-client -lremdesk-client -ldrive-client -lparallel-client -lserial-client -lsmartcard-client -bundle -flat_namespace -undefined suppress -lcrypto -ldl -lpthread -lssl -lcrypto -ldl -framework CoreFoundation
ld: library not found for -lfreerdp
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [cvs.mod] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

@vipzen
Copy link

vipzen commented May 10, 2018

Use -v to see invocation
Also try this:

$ export FREERDP2_CFLAGS='-I/usr/local/include'
$ export FREERDP2_LIBS='-I/usr/local/lib/freerdp'

./configure
make

@notwhy
Copy link

notwhy commented Nov 23, 2018

me also met this question.
./configure
make
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive
Making all in src
Making all in modsrc
gcc -g -O2 -Wno-deprecated-declarations -fPIC -L/usr/local/lib -L/usr/local/opt/openssl/lib -L/usr/local/lib/freerdp -o cvs.mod cvs.o ../medusa-trace.o -lfreerdp -lwinpr -lfreerdp-client -laudin-client -ldisp-client -lecho-client -lrdpei-client -lrdpgfx-client -ltsmf-client -lcliprdr-client -ldrdynvc-client -lencomsp-client -lrail-client -lrdpdr-client -lrdpsnd-client -lremdesk-client -ldrive-client -lparallel-client -lserial-client -lsmartcard-client -bundle -flat_namespace -undefined suppress -lcrypto -ldl -lpthread -lssl -lcrypto -ldl -framework CoreFoundation
ld: library not found for -lfreerdp
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [cvs.mod] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

but not work.
$ export FREERDP2_CFLAGS='-I/usr/local/include'
$ export FREERDP2_LIBS='-I/usr/local/lib/freerdp'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants